generalConfig =
|
|
serialDevice: '/dev/coffee'
|
|
logFilename: 'coffee.log'
|
|
tempTimeout: 50
|
|
pumpCoefficient: 1.35
|
|
|
|
hardwareConfig =
|
|
coffeeTemp: 0.758
|
|
coffeeTemp2: 0.758 + 0.1
|
|
|
|
grinderPin: 9
|
|
pumpPin: 8
|
|
boilerPin: 6
|
|
powderPin: 7
|
|
wheelPin: 10
|
|
invertWheelPin: 11
|
|
|
|
powderSensorPin: 2
|
|
vaporSensorPin: 5
|
|
tempSensorPin: 7
|
|
|
|
wheelStartSensorPin: 4
|
|
wheelEndSensorPin: 3
|
|
|
|
accountingConfig =
|
|
coffeePrice: 20
|
|
|
|
exports.general = generalConfig
|
|
exports.hardware = hardwareConfig
|
|
exports.accounting = accountingConfig
|
|
|