- Set ADC clock prescale to 8 (125 kHz at 1 MHz CPU clock)
- Let measure() return measurement that can be called to display()
instead of measure() calling display() (for testability)
- Removed semicolons from #defines
- Include stdbool.h and use bool instead of uint8_t
- Added tests
- Some formatting, comments
1 parent 7faf52d commit 110d5313663b6898f25288d2841ad5a89d2278db
@Torsten Römer Torsten Römer authored on 21 Mar 2015
Showing 8 changed files
View
lambda-test/.cproject
View
lambda-test/avrjunit.h
View
lambda-test/lambda-test.c
View
lambda/.cproject
View
lambda/adc.c
View
lambda/lambda.c
View
lambda/sensors.c
View
lambda/sensors.h