Search found 24 matches
- Thu Mar 26, 2020 6:27 pm
- Forum: STM32L4 based boards
- Topic: Problem with Hardware Timer example on STM32L476RG.
- Replies: 3
- Views: 7033
Problem with Hardware Timer example on STM32L476RG.
Hello friends, I am trying unsuccessfully to test the Timebase_callback.ino example found at https://github.com/stm32duino/wiki/wiki/HardwareTimer-library. I just changed output D2 to PA5, which is Led1 on the board. Unfortunately it didn't work, the led just doesn't flash ... I found the topic http...
- Tue Mar 24, 2020 6:25 pm
- Forum: STM32L4 based boards
- Topic: LCD i2c for STM32 with ArduinoIDE.
- Replies: 8
- Views: 18055
Re: LCD i2c for STM32 with ArduinoIDE.
Thanks for the clarification !!!
- Tue Mar 24, 2020 3:58 pm
- Forum: STM32L4 based boards
- Topic: LCD i2c for STM32 with ArduinoIDE.
- Replies: 8
- Views: 18055
Re: LCD i2c for STM32 with ArduinoIDE.
The "hello world" example from https://github.com/johnrickman/LiquidCrystal_I2C compiles without error for the STM32L476RG board. Sketch uses 14116 bytes (1%) of program storage space. Maximum is 1048576 bytes. Global variables use 824 bytes (0%) of dynamic memory, leaving 97480 bytes for...
- Tue Mar 24, 2020 3:53 pm
- Forum: STM32L4 based boards
- Topic: LCD i2c for STM32 with ArduinoIDE.
- Replies: 8
- Views: 18055
Re: LCD i2c for STM32 with ArduinoIDE.
So if you want to use this library you will have to modify it to fix that. I've added this to LCD.h after the last #include: #ifdef LCD #undef LCD #endif And it allows to build. Hi fpiSTM, The library you referred to is the same library I was already using to compile the program for Arduino Uno. I ...
- Mon Mar 23, 2020 4:08 pm
- Forum: Ideas & suggestions
- Topic: Training for the newbies.
- Replies: 1
- Views: 8843
Training for the newbies.
I don't know if everybody knows but ST provides online training for each specific family boards: https://www.st.com/content/st_com/en/su ... ining.html
Forgive please if this is the wrong place to post this.
Forgive please if this is the wrong place to post this.
- Mon Mar 23, 2020 4:04 pm
- Forum: STM32L4 based boards
- Topic: Trying to port Arduino programs to STM32 boards.
- Replies: 7
- Views: 9221
Re: Trying to port Arduino programs to STM32 boards.
Perfect, stas2z!
With the help of friends, I will gradually understand these particularities.
Thanks!
With the help of friends, I will gradually understand these particularities.
Thanks!
- Mon Mar 23, 2020 2:35 pm
- Forum: STM32L4 based boards
- Topic: LCD i2c for STM32 with ArduinoIDE.
- Replies: 8
- Views: 18055
Re: LCD i2c for STM32 with ArduinoIDE.
The Juraj, Did you try to compile on your ArduinoIDE the program "Injetor_v.09" that I sent to http://tbf.me/a/CiQu9 for the STM32L476RG board? I had tried this before, as I said, and there were numerous errors on the dependencies. After that I tried to avoid using libraries, putting all t...
- Mon Mar 23, 2020 1:17 pm
- Forum: STM32L4 based boards
- Topic: Trying to port Arduino programs to STM32 boards.
- Replies: 7
- Views: 9221
Re: Trying to port Arduino programs to STM32 boards.
Yes, the simplest way is the one you mentioned. However, it is interesting to see that there is more than one way to do the same thing, following the syntax that appears in "pins_arduino.h".
- Mon Mar 23, 2020 2:24 am
- Forum: STM32L4 based boards
- Topic: LCD i2c for STM32 with ArduinoIDE.
- Replies: 8
- Views: 18055
LCD i2c for STM32 with ArduinoIDE.
Hello friends! 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. Again, nothing is so simple ... In the process of compiling the program, numerous errors arise. Researching a little more, I discover...
- Sat Mar 21, 2020 7:21 pm
- Forum: STM32L4 based boards
- Topic: Trying to port Arduino programs to STM32 boards.
- Replies: 7
- Views: 9221
Re: Trying to port Arduino programs to STM32 boards.
The both ways worked fine, thank you very much, friends!