Calculator Community > Calculator C

[Solved][Ndless] Hardware timers on the CX

(1/1)

Streetwalrus:
Hmmm. I've been struggling with these all day long yesterday. I got them to work eventually but now I'm facing a problem now. Thing is, it seems to be zero and non zero at the same time. O.O

Code : https://github.com/Streetwalrus/tetris
n2DLib required to compile : https://github.com/n2DLib/n2DLib

I looked at the sleep() code and I'm doing exactly the same thing (that's what I did by reading only the datasheet too :/).
So if you guys have an idea I'd be grateful.

aeTIos:

--- Quote ---Thing is, it seems to be zero and non zero at the same time.
--- End quote ---
The Nspire uses qubits? O.O
background: http://en.wikipedia.org/wiki/Qubit

Streetwalrus:
Lol no. I tried to set the timer to zero. The test would be true whether I did *timer_value == 0 or !=.

aeTIos:
That's really weird. O.o

Streetwalrus:
Holy cow it works now. O.O Apparently it was an n2DLib bug. Problem solved.

Navigation

[0] Message Index

Go to full version