Have you tried it yet? It should work.
DmxSimple calculates the timing loops at compile time for the given
clock frequency, provided:
a) the frequency 4MHz or above,
b) the frequency is whole number of MHz, and
c) the CPU has the same instruction timings as the ATmega*8 series.
The timing loops pick up on the F_CPU define, which is a standard
feature of AVR-GCC. (It is used a lot in the delay.h part of the
library)
For using the Arduino IDE, F_CPU is set in hardware/boards.txt as the
xxxx.build.f_cpu option. Provided boards.txt is correctly modified,
you'll be fine.
If you're doing a command line based custom build, check you set the -
D F_CPU value correctly in gcc.
Bear in mind that if you're using 3.3V rails, there could be issues
with driving valid DMX voltages. Check the specs for your driver chip
- you might still need a 5V rail.
Peter
On Dec 16, 1:50 pm, Scruff <
scruf...@sbg.at> wrote:
> ...