forked from Elron_dev/elbear_arduino_bsp
исправила неточность
This commit is contained in:
parent
1bffc28767
commit
e77ae5935b
@ -24,7 +24,7 @@ void loop() {
|
||||
0 to 1023 and each byte of the EEPROM can only hold a
|
||||
value from 0 to 255.
|
||||
***/
|
||||
int val = analogRead(0) / 16;
|
||||
int val = analogRead(0) / 4;
|
||||
|
||||
/***
|
||||
Update the particular EEPROM cell.
|
||||
|
||||
@ -22,7 +22,7 @@ void loop() {
|
||||
value from 0 to 255.
|
||||
***/
|
||||
|
||||
int val = analogRead(0) / 16;
|
||||
int val = analogRead(0) / 4;
|
||||
|
||||
/***
|
||||
Write the value to the appropriate byte of the EEPROM.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user