Day09 - GPIO LED Driver¶
Objective¶
Control LED via kernel driver using gpiod
Step 1 - Build Module¶
Step 2 - Build Device Tree Overlay¶
Step 3 - Load Driver¶
Step 4 - Verify¶
Step 5 - Test¶
Expected Result¶
- LED ON/OFF
- read returns correct state
Troubleshooting¶
- Check dmesg
- Ensure overlay loaded
- Ensure GPIO not used by others