25.02.2026
This commit is contained in:
parent
d106fb1ea2
commit
f08441cc13
2
ADC.c
2
ADC.c
@ -43,7 +43,7 @@ int main(void)
|
||||
|
||||
ADC_Wert = ADC1 -> DR;
|
||||
ADC_Spannung = (3.3 / 4095) * ADC_Wert;
|
||||
L = (int)(27.86 * powf(ADC_Spannung, - 1.15));
|
||||
L = (int)(26.337 * powf(ADC_Spannung, - 1.204));
|
||||
wait_ms(1);
|
||||
|
||||
sprintf(&buffer[0], "ADCWert.val=%04d\xff\xff\xff", ADC_Wert);
|
||||
|
||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user