button

Simple 3 Button On off With 12f629 mikroC

Simple 3 Button On-off With 12f629 (mikroC)

a simple 3 buttons on-off with pic12f629. it’s written with MikroC Step 1: The Code… start the code with ”int”———————————————————- int x0,x1,y0,y1,z0,z1; ////// with this the GPIO outputs could stay on or off void main() { GPIO = 0x00; ////// all outputs are 0 CMCON = 0x07; ////// Disable CMCON PORT TRISIO = 0b00111000; //////

Simple 3 Button On-off With 12f629 (mikroC) Continue Reading

Scroll to Top