heater: Fix controller to use signed fixed point rather than unsigned
authorPhilip Withnall <philip@tecnocode.co.uk>
Sat, 8 Dec 2012 09:51:18 +0000 (09:51 +0000)
committerPhilip Withnall <philip@tecnocode.co.uk>
Sat, 8 Dec 2012 10:13:24 +0000 (10:13 +0000)
commit8a541d1e70cc111e7479bf49b6d10b4d35645672
tree1678a8dd0ee9dd872cbfa39a962b7c1c66664589
parent9d2bd68943043b2d6c5368b93614b87cefd46308
heater: Fix controller to use signed fixed point rather than unsigned

Whoops. Still untested, but this has a better chance of working. Testing it
isn’t really feasible unless I can set up a heater, 20l water bath and a
thermometer, as the operation (and tuning) of the controller will be highly
dependent on the lag in the system.
config.h
heater.c