scdvom
Member level 1
Hi, I got a problems here. Here is my code
when I check d Logic Analyzer (waveform), how come it just trigered wif pin 5,6, and 7 only. then hw pin 1,2,3,4?? i tot 0xFF is all turning on??
can any help me to solve tis problem. thx
Code:
#include <P18F4550.h>
void main (void)
{
TRISB = 0; //Make port B as output
PORTB = 0xFF;
}
when I check d Logic Analyzer (waveform), how come it just trigered wif pin 5,6, and 7 only. then hw pin 1,2,3,4?? i tot 0xFF is all turning on??
can any help me to solve tis problem. thx