1
0
mirror of git://projects.qi-hardware.com/antorcha.git synced 2024-11-01 11:15:55 +02:00
Commit Graph

9 Commits

Author SHA1 Message Date
Werner Almesberger
023c2aa1e9 fw/: base sweep start time on absolute time
This way, we can define the next sweep while the previous one is still
in progress.
2012-06-24 11:59:52 -03:00
Werner Almesberger
646f54d25c fw/sweep.c (TIMER1_OVF_vect): turn off the LEDs when done
This means that the image no longer has to contain terminating all-zero rows.
2012-06-23 22:29:05 -03:00
Werner Almesberger
c7494c80fa fw/accel.c: fix update() add interrupt-friendly update_irq()
Still untested.
2012-06-21 16:14:56 -03:00
Werner Almesberger
7045109090 fw/accel.c: keep track of uptime and return it with uptime() (untested) 2012-06-21 08:56:41 -03:00
Werner Almesberger
6286aa9bbc fw/sweep.c: use ICR1 instead of double-buffered OCR1A; set pixel_ticks
Our timing is now accurate within a measured 0.5% on the test device,
which is well within the specified 1% of the calibrated RC oscillator.
2012-06-20 16:40:33 -03:00
Werner Almesberger
9bc9c57fb2 fw/: simple image test mode (still untested) 2012-06-20 10:41:27 -03:00
Werner Almesberger
87cc67d5f7 fw/: add image data upload (completely untested) 2012-06-20 10:30:40 -03:00
Werner Almesberger
6223a58552 fw/: move image data from sweep.[ch] to new image.[ch] 2012-06-20 07:45:04 -03:00
Werner Almesberger
7003c9c35b fw/: added image sweep (completely untested) 2012-06-20 07:39:24 -03:00