Writing to, and reading from EEPROM using address in EEPROM-AtMega328P

Braam Mouton
Braam Mouton
898 بار بازدید - 11 ماه پیش - In this video a program
In this video a program is written to do the following:
-Set up PB5 as an output pin.
-Set up Port C (PC0 to PC5) as inputs and activate the internal pullup resistors.
-Write the data 0x28 to address 0x5F in EEPROM. Do this outside the while (1) loop.
-You must now read the data being placed on PORTC and compare the data in address 0x5F in EEPROM.
-If the EEPROM data and PORTD data are the same, switch on the LED on PB5, else, switch it off.
11 ماه پیش در تاریخ 1402/05/17 منتشر شده است.
898 بـار بازدید شده
... بیشتر