24 lines
476 B
JSON
24 lines
476 B
JSON
{
|
|
"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]
|
|
]
|
|
}
|