ATmega88 @ 1MHz EEPROM 03
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eeprom_03.c ATmega88 @ 1MHz */ | |
#include <avr/io.h> | |
#include <avr/eeprom.h> | |
uint8_t byte_buffer[3]; // Deklaration eines Arrays mit dem namen byte_buffer mit 3 Feldern | |
int main(void) | |
{ | |
// Funktionsaufruf und Übergabe der Parameter | |
eeprom_read_block((void*)byte_buffer, (const void*) 0, (size_t) 3); | |
while(1) | |
{ | |
asm ("NOP"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment