tenbaht / sduino

An Arduino-like programming API for the STM8
http://tenbaht.github.io/sduino/
GNU Lesser General Public License v2.1
347 stars 213 forks source link

DMX functionality #160

Open kokospalme opened 3 months ago

kokospalme commented 3 months ago

Did someone manage to implement a library which receives DMX data over Serial? This would be so great for many projects :) I've written a lot of C++ libraries and classes, but I'm struggling with C...

At first I want to experiment with using Serial with interrupts as shown in this exmaple, but I'm getting this error:

/Users/chris/Documents/Arduino/STM8_DMX/STM8_DMX.ino:8: error 71: interrupt no '17' already has a service routine 'UART1_TX_IRQHandler'

Does someone know why I can't overwrite this?