34294a86e8
- 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
28 lines
564 B
JSON
28 lines
564 B
JSON
{
|
|
"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
|
|
}
|
|
]
|
|
} |