1
0
mirror of git://projects.qi-hardware.com/antorcha.git synced 2024-11-26 00:30:18 +02:00
Commit Graph

3 Commits

Author SHA1 Message Date
Werner Almesberger
206eb4d591 clean up diagnostic more and make it more robust
A number of changes:
- don't enable interrupts, since they often cause hangs (not sure why)
- remove GND measurement
- wait 100 us between AMUX setup and start of conversion, to let input
  settle
- reduce delay between line setup and samping from 100 ms to 50 ms,
  for this is already sufficient
2012-07-01 19:40:01 -03:00
Werner Almesberger
1be433e65f fw/accel.c (measure_ref): GND and Vbg measurement function (for diagnostics) 2012-07-01 10:38:59 -03:00
Werner Almesberger
eaa11b110c fw/: sample the acceleration sensor (untested) 2012-06-21 08:56:56 -03:00