mirror of
https://github.com/mytechnotalent/Embedded-Hacking.git
synced 2026-06-30 17:55:32 +02:00
Updated WEEK09
This commit is contained in:
+8
-8
@@ -875,17 +875,17 @@ Create a mental (or written) map:
|
||||
+-----------------------------------------------------------------+
|
||||
| Struct Member Mapping |
|
||||
| |
|
||||
| Assembly Value -> Struct Member -> Physical LED |
|
||||
| Assembly Value -> Struct Member -> Physical LED |
|
||||
| ------------------------------------------------------------- |
|
||||
| 0x10 (16) -> led1_pin -> Red LED |
|
||||
| 0x11 (17) -> led2_pin -> Green LED |
|
||||
| 0x12 (18) -> led3_pin -> Yellow LED |
|
||||
| 0x10 (16) -> led1_pin -> Red LED |
|
||||
| 0x11 (17) -> led2_pin -> Green LED |
|
||||
| 0x12 (18) -> led3_pin -> Yellow LED |
|
||||
| |
|
||||
| NEC Code -> State Member -> Action |
|
||||
| NEC Code -> State Member -> Action |
|
||||
| ------------------------------------------------------------- |
|
||||
| 0x0C -> led1_state=true -> Red LED ON |
|
||||
| 0x18 -> led2_state=true -> Green LED ON |
|
||||
| 0x5E -> led3_state=true -> Yellow LED ON |
|
||||
| 0x0C -> led1_state=true -> Red LED ON |
|
||||
| 0x18 -> led2_state=true -> Green LED ON |
|
||||
| 0x5E -> led3_state=true -> Yellow LED ON |
|
||||
| |
|
||||
+-----------------------------------------------------------------+
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user