Hello.
I want to use LPTMR0 timer in my project, but when I try to read any LPTMR0 register board hangs.
for example I loaded simple blink sketch and inserted there something like
x = LPTMR0_CNR; at the end of the main loop.
Sketch is compiling and uploading as usual, but after restart board blinks one time and stops blinking.
Is it possible to use this timer, or may be another way for me? I need simple free running 16bit counter with prescaler, no interrupts needed.
I'm using Arduino 1.0.5 and teeensyduino 1.17
I want to use LPTMR0 timer in my project, but when I try to read any LPTMR0 register board hangs.
for example I loaded simple blink sketch and inserted there something like
x = LPTMR0_CNR; at the end of the main loop.
Sketch is compiling and uploading as usual, but after restart board blinks one time and stops blinking.
Is it possible to use this timer, or may be another way for me? I need simple free running 16bit counter with prescaler, no interrupts needed.
I'm using Arduino 1.0.5 and teeensyduino 1.17