исправила неточность

This commit is contained in:
klassents 2024-10-15 13:43:22 +07:00
parent 1bffc28767
commit e77ae5935b
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ void loop() {
0 to 1023 and each byte of the EEPROM can only hold a 0 to 1023 and each byte of the EEPROM can only hold a
value from 0 to 255. value from 0 to 255.
***/ ***/
int val = analogRead(0) / 16; int val = analogRead(0) / 4;
/*** /***
Update the particular EEPROM cell. Update the particular EEPROM cell.

View File

@ -22,7 +22,7 @@ void loop() {
value from 0 to 255. 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. Write the value to the appropriate byte of the EEPROM.