Access propeller's clock
sdiguana
Posts: 11
I'm trying to create a kinematic model for my new activity bot, and want to go from velocity to position ... of course there is a pesky "t" in the equation! '
any suggestions on how i can get there? Ive figured out i can do input(23) from reading the silkscreen near the SD Card, but i dont know much of what to do with it from there.
I saw a Timing I/O Lab in one of the PDFs but it appears to be in SPIN..? since all of the tutorials ive done so far are in Simple IDE (C), it seems im at a loss.
any suggestions on how i can get there? Ive figured out i can do input(23) from reading the silkscreen near the SD Card, but i dont know much of what to do with it from there.
I saw a Timing I/O Lab in one of the PDFs but it appears to be in SPIN..? since all of the tutorials ive done so far are in Simple IDE (C), it seems im at a loss.
Comments
For the curious:
Scheduler to make something happen every n ms (roughly): https://github.com/libpropeller/libpropeller/blob/master/libpropeller/scheduler/scheduler.h
Stopwatch to time how long something took (up to ~53 seconds at 80MHz): https://github.com/libpropeller/libpropeller/blob/master/libpropeller/stopwatch/stopwatch.h