исправила неточность
This commit is contained in:
1 parent
1bffc28767
commit
e77ae5935b
2 files changed
+2
-2
No files matched your search
@@ -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.
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
Reference in new issue
Block a user