#include<reg51.h>
sbit LED=P1^0; // pin0 of port1 is named as LED
//for drowing man
sbit bodybit0=P2^3;
sbit legbit0=P2^3;
sbit bodybit1=P3^5;
sbit legbit1=P3^6;
sbit ground0 = P2;
sbit ground1 =P3^7;
//Function declarations
//void delay(int a);
class Man {
private:
char...