SyPTo submitted a new article:
Emergency Double Strobe Flip/Flop - Double flash flip/flop with a PIC12
Read more about this article...
Emergency Double Strobe Flip/Flop - Double flash flip/flop with a PIC12
Double flash flip/flop with a PIC12
Notes:
- Any switching NPN transistor will work.
- U1 = PIC12Fxxx (675/629/684), check your datasheets to see if others will work with this.
Schematic
View attachment 54947
Code
C:#include <system.h> #pragma DATA_CONFIG, _MCLRE_OFF&_WDT_OFF&_INTRC_OSC_CLKOUT #pragma CLOCK_FREQ 4000000 void main() { cmcon =7; trisio = 0b00001000 gpio = o; delay_ms(500); while (1) {...
Read more about this article...