1
0
forked from me/IronOS

Add ability to calibrate input DC voltage reading, V1.05

Closes #5
This commit is contained in:
Ben V. Brown
2017-05-18 23:58:35 +10:00
parent ddedd9ad4f
commit 1522c419cf
7 changed files with 74 additions and 43 deletions

View File

@@ -16,5 +16,5 @@ extern volatile uint16_t ADC1ConvertedValue[2];
uint16_t Get_ADC1Value(uint8_t i);
uint16_t readIronTemp(uint16_t calibration_temp, uint8_t read,uint16_t setPointTemp); //read the iron temp in C X10
uint16_t readDCVoltage();/*Get the system voltage X10*/
uint16_t readDCVoltage(uint16_t divFactor);/*Get the system voltage X10*/
#endif /* ANALOG_H_ */