Hi EREL,
Am I correct in assuming that some objects should NOT have multi-instances?
I'm referring specially to objects like sensor libs, lcd, etc (neoPixel included)
I tried to use to different objects, one in main, the other in a code module, to control the same hardware (my neoPixel board), so the object name was different, but the initialization was the same, meaning, same pin, etc...
In my experiences, I found that timer based animations got mixed, even thou only one of the timers was running...
So, it is either a lib thing, that doesn't like to be handled by more than one object, or a timer thing...
since B4R is somewhat peculiar in its functioning, can it be that two timers named "TIMER1" cannot coexist even if declared and used in different code modules??
Am I correct in assuming that some objects should NOT have multi-instances?
I'm referring specially to objects like sensor libs, lcd, etc (neoPixel included)
I tried to use to different objects, one in main, the other in a code module, to control the same hardware (my neoPixel board), so the object name was different, but the initialization was the same, meaning, same pin, etc...
In my experiences, I found that timer based animations got mixed, even thou only one of the timers was running...
So, it is either a lib thing, that doesn't like to be handled by more than one object, or a timer thing...
since B4R is somewhat peculiar in its functioning, can it be that two timers named "TIMER1" cannot coexist even if declared and used in different code modules??