Размер видео: 1280 X 720853 X 480640 X 360
Показать панель управления
Автовоспроизведение
Автоповтор
thank you i learned a new thing
Excellent👍👏
Why it is not working for ussss ???
whixh software is this in which you are doing coding and simulation
Software name..?
/* Program */#include sbit motorA = P2^0;sbit motorB = P2^1;sbit SW1 = P1^0;sbit SW2 = P1^1;void main(void){ while(1) /* infinity loop*/ { if(SW1 == 0) { motorA = 1; motorB = 0; } else if(SW2 == 0) { motorA = 0; motorB = 1; } else { motorA = 0; motorB = 0; } } }
thank you i learned a new thing
Excellent👍👏
Why it is not working for ussss ???
whixh software is this in which you are doing coding and simulation
Software name..?
/* Program */
#include
sbit motorA = P2^0;
sbit motorB = P2^1;
sbit SW1 = P1^0;
sbit SW2 = P1^1;
void main(void)
{
while(1) /* infinity loop*/
{
if(SW1 == 0)
{
motorA = 1;
motorB = 0;
}
else if(SW2 == 0)
{
motorA = 0;
motorB = 1;
}
else
{
motorA = 0;
motorB = 0;
}
}
}