~gabe/flashlight-firmware/anduril2

« back to all changes in this revision

Viewing changes to ToyKeeper/battcheck/readings/tk-brass-edc.volts

  • Committer: Selene Scriven
  • Date: 2015-04-02 01:06:59 UTC
  • Revision ID: ubuntu@toykeeper.net-20150402010659-9wvzec8tc9travay
Improved info for Windows users in the README.
Showed how to add suid on avrdude for convenience.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
182 - 4.17V
2
 
125 - 3.00V
3
 
#define ADC_42          185 // the ADC value we expect for 4.20 volts
4
 
#define ADC_100         185 // the ADC value for 100% full (4.2V resting)
5
 
#define ADC_75          175 // the ADC value for 75% full (4.0V resting)
6
 
#define ADC_50          164 // the ADC value for 50% full (3.8V resting)
7
 
#define ADC_25          154 // the ADC value for 25% full (3.6V resting)
8
 
#define ADC_0           139 // the ADC value for 0% full (3.3V resting)
9
 
#define ADC_LOW         123 // When do we start ramping down
10
 
#define ADC_CRIT        113 // When do we shut the light off
11