Firmware merge requestshttps://git.rwth-aachen.de/acs/public/teaching/legos/firmware/-/merge_requests2022-02-25T19:07:50+01:00https://git.rwth-aachen.de/acs/public/teaching/legos/firmware/-/merge_requests/1Small fixes in House, Powerplant & Solar Farm2022-02-25T19:07:50+01:00Matthias Marcus NowakSmall fixes in House, Powerplant & Solar FarmChanged things:
- tmp100.c :
- Order of Bytes read from the sensor is flipped now, fixing the temperature readout (2 bytes)
- power_plant.c :
- Avoiding "divide-by-0" when the touch values are read and dont differ from the "calibrat...Changed things:
- tmp100.c :
- Order of Bytes read from the sensor is flipped now, fixing the temperature readout (2 bytes)
- power_plant.c :
- Avoiding "divide-by-0" when the touch values are read and dont differ from the "calibration"-touchvalues from boot up.
- (Problem still: When you plug in the entity you shouldn't touch the touchpad, else the calibration-values are wrong)
- CMakeList :
- removed "test" due to build errors
- solar_farm.c :
- changed sensitivity of the ADC (still needs tweaking with new opamp amplification)
- limited the maximum change of the servo motor positions per task execution