Bài 1: 8led đơn #include char hieuungtraiphai[ ]={0xFE,0xFD,0xFB,0xF7,0xEF,0xDF,0xBF,0x7F}; char hieuungsangnguoc[ ]={0x7F,0xBF,0xDF,0xEF,0xF7,0xFB,0xFD,0xFE}; char hieuunghaibenvao[ ]={0x7E,0xBD,0xDB,0xE7}; char hieuunggiuara[ ]={0xE7,0xDB,0xBD,0x7E}; void delay(int time) { while(time ); } void traiphai(){ int j; for(j=0;j