Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Resource icon

Emergency double strobe flip/flop 2011-07-01

Status
Not open for further replies.

SyPTo

New Member
SyPTo submitted a new 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...
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top