|
|
|
@ -61,10 +61,11 @@ int __attribute__((noreturn)) main(void) {
|
|
|
|
for(;;){
|
|
|
|
for(;;){
|
|
|
|
|
|
|
|
|
|
|
|
SOFTTIMER(1,500) {
|
|
|
|
SOFTTIMER(1,500) {
|
|
|
|
// do_stuff();
|
|
|
|
// for(int i=0; i < 4; i++) {
|
|
|
|
// muxer_set(some-next-channel);
|
|
|
|
// muxer_set(i);
|
|
|
|
// if(mcpadc_has_new_data()) {
|
|
|
|
// if(mcpadc_has_new_data()) {
|
|
|
|
// temperatures[some-next-channel] = mpcadc_get_data();
|
|
|
|
// temperatures[i] = mpcadc_get_data();
|
|
|
|
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|