mirror of
https://gitlab.com/zwirbel/illucat.git
synced 2025-12-14 17:35:22 +01:00
set build flags for flash size
This commit is contained in:
13
.vscode/tasks.json
vendored
Normal file
13
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"type": "npm",
|
||||
"script": "install",
|
||||
"path": ".piolibdeps/sprocket-core/tools/",
|
||||
"problemMatcher": []
|
||||
}
|
||||
]
|
||||
}
|
||||
19
README.md
19
README.md
@@ -4,6 +4,25 @@ This is the brain of the the almighty [Illumination Cat](https://www.thingiverse
|
||||
## API
|
||||
### WebSocket
|
||||
Endpoint: /pixel
|
||||
|
||||
Fields:
|
||||
|Field|Type|Description|
|
||||
| ------------- |-------------| -----|
|
||||
| topic | String | $1600 |
|
||||
| col 2 is | centered | $12 |
|
||||
| zebra stripes | are neat | $1 |
|
||||
|
||||
Example:
|
||||
``` json
|
||||
{
|
||||
"topic": "pixels/color",
|
||||
"payload": "13505813"
|
||||
}
|
||||
```
|
||||
#### Message Formate
|
||||
- topic
|
||||
- payload
|
||||
|
||||
#### Topics
|
||||
pixels/color
|
||||
pixels/color2
|
||||
|
||||
@@ -29,6 +29,7 @@ board = ${common.board}
|
||||
upload_speed = ${common.upload_speed}
|
||||
monitor_baud = ${common.monitor_baud}
|
||||
framework = ${common.framework}
|
||||
build_flags = -Wl,-Teagle.flash.4m.ld
|
||||
;lib_extra_dirs = ~/src/illucat/.piolibdeps/sprocket-core/lib
|
||||
lib_deps = ${common.lib_deps}
|
||||
painlessMesh
|
||||
|
||||
Reference in New Issue
Block a user