Add initial project files including configuration and LED control scripts
- Create .gitignore to exclude unnecessary files - Add .micropico for project identification - Implement config.json for switch configurations - Develop led_panel_blink.py for LED control with color cycling - Create main.py to manage switch commands and interactions - Introduce servo.py for servo control functionality - Define switch.py to handle switch operations with servo integration
This commit is contained in:
+28
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"switches": [
|
||||
{
|
||||
"id": 1283,
|
||||
"pin": 12,
|
||||
"angle_minus": 65,
|
||||
"angle_plus": 125
|
||||
},
|
||||
{
|
||||
"id": 1272,
|
||||
"pin": 13,
|
||||
"angle_minus": 65,
|
||||
"angle_plus": 125
|
||||
},
|
||||
{
|
||||
"id": 1444,
|
||||
"pin": 2,
|
||||
"angle_minus": 125,
|
||||
"angle_plus": 65
|
||||
},
|
||||
{
|
||||
"id": 1274,
|
||||
"pin": 3,
|
||||
"angle_minus": 125,
|
||||
"angle_plus": 65
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user