Lehrer Busch
/
020_LED_blink_wait_oszi_AA
020_LED_blink_wait_oszi_AA
Warten.h@2:748b731a6136, 2022-02-24 (annotated)
- Committer:
- itbusch
- Date:
- Thu Feb 24 06:30:53 2022 +0000
- Revision:
- 2:748b731a6136
- Parent:
- 1:d4eec4fcc366
020_LED_blink_wait_oszi_AA
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
itbusch | 1:d4eec4fcc366 | 1 | |
itbusch | 1:d4eec4fcc366 | 2 | int a; //WICHTIG: Deklarieren HIER! |
itbusch | 1:d4eec4fcc366 | 3 | |
itbusch | 1:d4eec4fcc366 | 4 | void Warten (void) //UP: Warten... |
itbusch | 1:d4eec4fcc366 | 5 | { |
itbusch | 2:748b731a6136 | 6 | /*for (int i = 0; i < ???; i++) //ANNAHME: 1Takt = MZ: 32MhZ/32 MZ? => 1 ns * 10000000 => 1ms |
itbusch | 1:d4eec4fcc366 | 7 | { // => tatsächluche Messung ~240 ms => 240*länger => Zyklen??... |
itbusch | 1:d4eec4fcc366 | 8 | a = !a; // bei declaration Datentyp HIER => Compiler optmiert RAUS! |
itbusch | 2:748b731a6136 | 9 | }*/ |
itbusch | 1:d4eec4fcc366 | 10 | } |
itbusch | 1:d4eec4fcc366 | 11 |