New repository for old PyCoffee Machine.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

31 lines
567 B

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