![]() See the error messages I get after simply trying to compile the original program for the STM32L476RG board:Īrduino: 1.8.12 (Windows 10), Board: "Nucleo-64, Nucleo L476RG, Mass Storage, Enabled (generic 'Serial'), None, Low/Full Speed, Smallest (-Os default), Newlib Nano (default)" I had tried this before, as I said, and there were numerous errors on the dependencies.Īfter that I tried to avoid using libraries, putting all the information in the main program and solving the syntax, but with each step more problems arose. (92.26 KiB) Viewed 15235 times (90.55 KiB) Viewed 15235 timesĭid you try to compile on your ArduinoIDE the program "Injetor_v.09" that I sent to for the STM32L476RG board? I uploaded the files, in case anyone wants to check: Ĭould someone help me with this please? How do I make this work on ArduinoIDE? I tried to reproduce the logic contained in "main.c" of the program made in STM32CubeIDE but using ArduinoIDE and including all libraries, but the errors generated are countless! With each change I make to correct them, the situation seems to get worse. ![]() Worked perfectly.Īfter that, I tried in many different ways to change the program to work with ArduinoIDE, but without success. So, in the "i2c-lcd.c" file, I had to change the slave address to 0x70h. As I am using a Robotdyn LCD i2c serial module, I used the PCA8574A chip datasheet for information on the addressing of the commands. I had to make some minor changes, such as changing the address for sending i2c commands to the LCD display model JHD204A. The author kindly provided not only the program for download but also made an explanatory video. Researching a little more, I discovered a good example of a program for STM32, but made with STM32CubeIDE: In the process of compiling the program, numerous errors arise. I've been doing some experiments, trying to compile a simple i2c communication program with an LCD display using ArduinoIDE to work on the STM32L476RG.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |