Hello,mstrdenz91 wrote:Code: Select all
void Button1Click() { PORTB = PORTB || 0x0006; //PORTB.B1 = 1; strcpy(Label3.Caption, "Solenoid on"); DrawLabel(&Label3); } void Button2Click() { InitIO(); }
What you have posted is not C code, it looks like MS Visual XXX code in part.
Kind regards,
Yako.