Flowcode V9 new component just been added
Posted: Wed Dec 02, 2020 11:04 pm
I have tried a new component that has been added today to V9.
It's a Timer UART that uses timer2 interrupt: As it's timer interrupt based, that means it will work perfectly on any pin even if not got mapping available.
Unlike the original software UART, the new version captures perfectly in RX mode and works perfectly in software mode even if using an additional fast timer interrupt for other purposes.
An example flowchart and additional information can be found here.
note: To set the baud rate I used my calculator from here.
The interrupt frequency is the baud rate.
If you don't have excel, there is an app here that will work nicely.
It's a Timer UART that uses timer2 interrupt: As it's timer interrupt based, that means it will work perfectly on any pin even if not got mapping available.
Unlike the original software UART, the new version captures perfectly in RX mode and works perfectly in software mode even if using an additional fast timer interrupt for other purposes.
An example flowchart and additional information can be found here.
note: To set the baud rate I used my calculator from here.
The interrupt frequency is the baud rate.
If you don't have excel, there is an app here that will work nicely.