Serial event not running
Posted: Thu Nov 18, 2021 2:52 pm
I'm using ST Link V2 for programming and an ftdi serial adapter connected to PA9, PA10 on an stm32F401.
This works fine for serial print of data to the Arduino serial monitor.
However I cannot get it to input characters, as the serial event function is not called.
Using the example serial event program I have inserted the following line :
HardwareSerial Serial1(PA10, PA9); //change serial to Serial1
Then changed all the Serial to Serial1.
and renamed the serial event call :
void serialEvent1()
Clearly I am missing something - any help much appreciated.
Best Regards
picclock
This works fine for serial print of data to the Arduino serial monitor.
However I cannot get it to input characters, as the serial event function is not called.
Using the example serial event program I have inserted the following line :
HardwareSerial Serial1(PA10, PA9); //change serial to Serial1
Then changed all the Serial to Serial1.
and renamed the serial event call :
void serialEvent1()
Clearly I am missing something - any help much appreciated.
Best Regards
picclock