Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Then write the code to make pin RB1 high or low according to your need.
PORTBbits.RB0 = 1;
if (PORTBbits.RB0 ==1){
}
if (PORTD == 255){
}