Приведение примеров eeprom

This commit is contained in:
EgorShin committed 2024-10-14 17:33:58 +07:00
1 parent c9f5563111
commit 52adac2b59
10 files changed
+88 -32

No files matched your search

@@ -1,19 +1,18 @@
/***
Written by Christopher Andrews.
CRC algorithm generated by pycrc, MIT licence ( https://github.com/tpircher/pycrc ).
CRC algorithm generated by pycrc ( https://github.com/tpircher/pycrc ).
A CRC is a simple way of checking whether data has changed or become corrupted.
This example calculates a CRC value directly on the EEPROM values.
The purpose of this example is to highlight how the EEPROM object can be used just like an array.
***/
#include <Arduino.h>
#include <EEPROM.h>
void setup() {
//Start serial
Serial.begin(9600);
EEPROM.begin();
while (!Serial) {
; // wait for serial port to connect. Needed for native USB port only
}