POC import
This commit is contained in:
commit
b1f112b2a4
2 changed files with 158 additions and 0 deletions
24
config.json.example
Normal file
24
config.json.example
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"control": {
|
||||
"interval": 5, // [s] delay between rounds
|
||||
"verbose": true
|
||||
},
|
||||
"sensor": {
|
||||
"source": "/sys/class/thermal/thermal_zone0/temp",
|
||||
"weight": 0.1 // [0.0-1.0] sample contribution weight
|
||||
// lower value -> slower response
|
||||
},
|
||||
"pwm": {
|
||||
"chip": 1,
|
||||
"channel": 0,
|
||||
"period": 100000 // [ns]
|
||||
},
|
||||
"map": [
|
||||
// each tuple is [m°C, percentage of period]
|
||||
[25000, 0],
|
||||
[35000, 50],
|
||||
[45000, 75],
|
||||
[50000, 90],
|
||||
[55000, 100]
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue