Search found 2 matches

by Jannicux
Fri Feb 02, 2024 5:15 pm
Forum: General discussion
Topic: Serial Issue, porting from Arduino Uno to STM32F4
Replies: 1
Views: 852

Re: Serial Issue, porting from Arduino Uno to STM32F4

I could resolve the issue.

The counter "ndx" was not set to 0 before or after receiving data, which lead to not filling the TransceiveByte array correctly.


Adding ndx=0 before solved the problem.
However it worked fine on arduino like this.
by Jannicux
Tue Jan 30, 2024 1:01 pm
Forum: General discussion
Topic: Serial Issue, porting from Arduino Uno to STM32F4
Replies: 1
Views: 852

Serial Issue, porting from Arduino Uno to STM32F4

Hello, for my bachelors thesis I first wrote a code for an Arduino Uno and now I ported it to a STM32F407VG Discovery. I also wrote a Program in Python which sends (utf-8) an array of 40 characters with " " inbetween, the µC then does a task depending on what the first entry is. I use it i...

Go to advanced search