Compare commits

...

1 Commits

Author SHA1 Message Date
Inamr
248e0fdc91 typo 2024-04-30 14:36:54 +02:00

View File

@ -49,9 +49,9 @@ uint16_t external_voltage_read(){
}
uint16_t internal_voltage_read() {
/* Gets value for the internal voltage reffreance*/
/* Gets value for the internal voltage refreance*/
ADC0.MUXPOS = 0x44;
ADC0.MUXPOS = 0x44; // Read VDDD10
uint8_t adc_val = ADC0_read();
return adc_val*10;