Code này viết bằng MikroC Pro for Pic, em ko hiểu mấy dòng này các bác giải thích giúp em với
Đoạn này là code truyền chuỗi ra Usart
while (*str!='\0')
{
Uart1_Write(*str);
str++;
}
Đoạn này nữa
temp=noi_dung[9]-48;
temp<<=(noi_dung[7]-48);
temp1=~(1<<(noi_dung[7]-48));
PORTA=(PORTA&temp1)|temp;
while((i!=0x0d)||(j==0))
Cảm ơn mọi người nhiều
Đoạn này là code truyền chuỗi ra Usart
while (*str!='\0')
{
Uart1_Write(*str);
str++;
}
Đoạn này nữa
temp=noi_dung[9]-48;
temp<<=(noi_dung[7]-48);
temp1=~(1<<(noi_dung[7]-48));
PORTA=(PORTA&temp1)|temp;
while((i!=0x0d)||(j==0))
Cảm ơn mọi người nhiều

Comment