-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.jsonc
More file actions
37 lines (30 loc) · 1.22 KB
/
Copy pathconfig.jsonc
File metadata and controls
37 lines (30 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
// Display configuration
"Rotation": 0,
"Flip_horizontal": false,
"Flip_vertical": false,
"Brightness": 0.5, // Careful not to set too high if u don't want toasty LEDs x3 (0.0-1.0)
// Default expression
"Default": "Eyeroll",
// Enable sticky to stick to an animation rather then falling back to default when buttons are let go
"Sticky": false,
// Extend this to add more expression slots
// The pins specified here follow the BOARD layout and not BCM (GPIO numbers)
"Expression_pins": {
"Happy": 32,
"Eyeroll": 33,
"Annoyed": 36,
"Blushing": 37,
"Fault": 38,
"Startled": 40
},
// Serial port to communicate to the master/slave through
"Port": "/dev/ttyS0",
// The maximum number of frames in an animation that will be allowed to cach in RAM.
// If over this limit the file will be decoded and read whilst in playback.
"Frame_cache_limit": 8000,
// Update rate in hz the panels are refreshed and animations are rendered
"Update_rate": 50,
"Serial_baudrate": 921600,
"Serial_rate": 25 // Rate data gets put through the serial bus, higher may cause lag
}