Linear stabilizer voltage and current on lm358 and transictor. Digital control and indication on stm32f103rbt and tft01-22sp (ili9341). https://www.youtube.com/watch?v=DLC3KEtlr9I https://radiokot.ru/forum/viewtopic.php?f=11&t=112440
Dependencies: mbed TFT_fonts SPI_TFT_ILI9341 beep _24LCXXX
Diff: temp.h
- Revision:
- 4:776f59129c24
- Parent:
- 3:791cf9a867d1
--- a/temp.h Sat Nov 22 18:51:39 2014 +0000 +++ b/temp.h Wed Jan 21 17:34:22 2015 +0000 @@ -1,34 +0,0 @@ -if (mline2==1) { - int i=0; - if (buttonUp==0 & brightness<1) { - if(brightness >= 0.09f & i==0) { - brightness+=0.1f; - pinbrightness=brightness; - i=1; - } - if(brightness < 0.09f & i==0) { - brightness+=0.01f; - pinbrightness=brightness; - i=1; - } - - } - - if (buttonDown==0 & brightness>0.01f) { - if(brightness <= 0.1f & i==0) { - brightness-=0.01f; - pinbrightness=brightness; - i=1; - } - if(brightness > 0.1f & i==0) { - brightness-=0.1f; - pinbrightness=brightness; - i=1; - } - } - - if (buttonEnter==0) { - mline2=0; - pmenu=0; - } - } \ No newline at end of file