Рет қаралды 17,148
Hello guys Welcome to learning microcontrollers,
Guys I had made a course for you guys on Udemy.
This course will teach you how to directly get your hands dirty on arduino and make useful projects to earn money.
Please do take this course on udemy this will greatly help me to grow my channel.
You will assisting my channel by paying for that course.
Here is the link to the course:
www.udemy.com/...
A quote:
Learn from cradle to grave.
/
/
/
////////////////////// Hello Guys,
Welcome to learning Microcontrollers.
I had made a course for you guys to learn under my direction supervision on Udemy.
This course will make you a master of PIC microcontroller based projects making using MikroC for PIC software.
Please do take this course the link is below. This will greatly help my channel aswell to grow.
www.udemy.com/...
A beautfiul quote:
The road to sucess is always under construction.
/
/
///////////////////////////////////////////////////// Hello folks,
This video is about how to interface a PIC wih CH340 device to interface with a computer or any other device using USB port.
If there is any problem feel free to comment:
Guys here is a link to remastered version of this video tutorial:
• Full duplex communicat...
Here is the code:
char rec1;
void main() {
TRISB.B7=0;
TRISB.B6=0;
UART1_INIT(1200);
DELAY_MS(400);
PORTB.B7=0;
PORTB.B6=0;
while(1)
{
if (UART1_Data_Ready() == 1) {
rec1 = UART1_Read();
DELAY_MS(200);
}
if ( rec1 == '1')
{
PORTB.B7=1;
DELAY_MS(800);
PORTB.B7=0;
rec1 = '0';
}
else if ( rec1 == '2')
{
PORTB.B7=1;
PORTB.B6=1;
DELAY_MS(800);
PORTB.B7=0;
PORTB.B6=0;
rec1 = '0';
}
else
{
PORTB.B7=0;
PORTB.B6=0;
rec1 = '0';
}
}
}