![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
for learning
Diff: main.cpp
- Revision:
- 6:df07d3491e3a
- Parent:
- 5:a4319f79457b
- Child:
- 7:e9086c72bb22
diff -r a4319f79457b -r df07d3491e3a main.cpp --- a/main.cpp Tue Aug 20 10:12:00 2019 +0000 +++ b/main.cpp Tue Aug 20 10:40:27 2019 +0000 @@ -63,9 +63,9 @@ int main() { - /******************************************************* + /********************************* *** Initialization - ********************************************************/ + *********************************/ indi_led = 0; pc.baud(9600); @@ -107,9 +107,9 @@ spi_enc_set_init(); - /******************************************************* + /************************************ *** Program is operating! - ********************************************************/ + *************************************/ while(1) { // dac_1=0.5; // dac_2=0.1; @@ -132,6 +132,9 @@ } } + + + /******************************************************************************* TIMER INTERRUPT *******************************************************************************/ @@ -173,7 +176,7 @@ // dac_2 = ADC2->DR; /******************************************************* - *** Valve Current Control + *** Valve Control ********************************************************/ bool FLAG_current_control = false;