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.

newb picc question

Status
Not open for further replies.
unsigned char pinState=RB0; //0x00 or 0x01

if(RB0){...}
 
oh... tnx.. it's so easy...
and if i want all the ports?

unsigned char ports = PORTB;
if(ports = 0b01010)
{

}

??
 
where i can find a list of functions and constants used in PICC? i didn't find any exemples in the documentation that comes with the program...:(
 
Status
Not open for further replies.

Latest threads

Back
Top