evaang2003
Newbie level 6
light up led source code
hi, i currently play with led using pic16f877a.
i connect one led to port b bit7.
the result i want to get is just to lit the led.
however, it does not response.
here is the source code i write using ccs picc compiler.
#include <16f877a.h>
void main()
{
output_high(PIN_B7);
}
can anybody tell me what went wrong?
hi, i currently play with led using pic16f877a.
i connect one led to port b bit7.
the result i want to get is just to lit the led.
however, it does not response.
here is the source code i write using ccs picc compiler.
#include <16f877a.h>
void main()
{
output_high(PIN_B7);
}
can anybody tell me what went wrong?