New product proposal: Arduino constant current DMX driver

mcnobby:
thanks for all the info :slight_smile: - I have used that DMX library many times, did you have to adapt it for your chip ?

Yes, the library was written in C++ language that I "downgraded" to C. Furthermore I changed the names of the registers in order to make them match with the Atmel headers files definitions (for example from the original UCSRnA to UCSRA).

mcnobby:
I actually meant can the software be used within the Arduino IDE ? I dont recognise the Atmel chip as one that is used or is configured in the IDE, but I might be wrong. As soon as I read you are using the AVRstudio to compile/program the chip it made me wonder. Thanks

Actually I see many Arduino boards use Atmel ATMega MCUs. The MCU AT90PWM316 also belongs to the Atmel ATMega family so I do not see any reason why it shall not compile. I do not know if in the Arduino IDE is already include the header file with the registers definitions but the fact it is written mostly in C shall assure the portability among different developing platforms.

Anyway tomorrow I will try to get started with the Arduino IDE and see if I am able to port the project in this developing environment.
Stay tuned,

Pickwick