Created
May 14, 2019 09:36
-
-
Save avr-programmierung/787752ab5fab43f6b77bbe66c03a763a to your computer and use it in GitHub Desktop.
include <avr/io.h>
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
/* code004.c Simulator */ | |
#include <avr/io.h> | |
uint8_t a=2, b=5, hilf; // Deklaration und Initialisierung globaler Variablen | |
int main(void) | |
{ | |
hilf = a; // in hilf wird der Wert von a gespeichert | |
a = b; // in a wird der Wert von b gespeichert | |
b = hilf; // in b wird der Wert von hilf gespeichert | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment