poggi99 / tinkerit

Automatically exported from code.google.com/p/tinkerit
0 stars 0 forks source link

DmxSimple: usePin() change does not work #18

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When previously having called any DmxSimple command and therefore have run 
dmxBegin(), the DmxSimple.usePin() function does not do anything.

This is because r.208 states:

if (dmxStarted && (pin != dmxPin)) { 

while on the previous line:

dmxPin = pin;

the variables are set so to match. This will prevent the if-statement to run.

Original issue reported on code.google.com by m...@hhermsen.nl on 23 Oct 2012 at 10:42