Cours:TPS 2103 tp4 tableaucorrige : Différence entre versions
(Page créée avec « <source lang=c> static uint8_t affPortB[10]={0b00110101,0b00010000,0b00110011,0b00110010,0b00010110,0b00100110,0b00100111,0b00110000,0b00110111,0b00110110};static uint8_t ... ») |
m |
||
| Ligne 1 : | Ligne 1 : | ||
<source lang=c> | <source lang=c> | ||
| − | static uint8_t affPortB[10]={0b00110101,0b00010000,0b00110011,0b00110010,0b00010110,0b00100110,0b00100111,0b00110000,0b00110111,0b00110110};static uint8_t affPortD[10]={0b11000000,0b01000000,0b10000000,0b11000000,0b01100000,0b11000000,0b11000000,0b01000000,0b11000000,0b11000000};const uint8_t affPortB[10]={0x35,0x10,0x33,0x32,0x16,0x26,0x27,0x30,0x37,0x36};const uint8_t affPortD[10]={0xC0,0x40,0x80,0xC0,0x40,0xC0,0xC0,0x40,0xC0,0xC0};</source> | + | static uint8_t affPortB[10]= {0b00110101,0b00010000,0b00110011,0b00110010,0b00010110,0b00100110,0b00100111,0b00110000,0b00110111,0b00110110}; |
| + | static uint8_t affPortD[10]={0b11000000,0b01000000,0b10000000,0b11000000,0b01100000,0b11000000,0b11000000,0b01000000,0b11000000,0b11000000}; | ||
| + | |||
| + | const uint8_t affPortB[10]={0x35,0x10,0x33,0x32,0x16,0x26,0x27,0x30,0x37,0x36}; | ||
| + | const uint8_t affPortD[10]={0xC0,0x40,0x80,0xC0,0x40,0xC0,0xC0,0x40,0xC0,0xC0}; | ||
| + | </source> | ||
Version du 22 avril 2015 à 15:58
static uint8_t affPortB[10]= {0b00110101,0b00010000,0b00110011,0b00110010,0b00010110,0b00100110,0b00100111,0b00110000,0b00110111,0b00110110};
static uint8_t affPortD[10]={0b11000000,0b01000000,0b10000000,0b11000000,0b01100000,0b11000000,0b11000000,0b01000000,0b11000000,0b11000000};
const uint8_t affPortB[10]={0x35,0x10,0x33,0x32,0x16,0x26,0x27,0x30,0x37,0x36};
const uint8_t affPortD[10]={0xC0,0x40,0x80,0xC0,0x40,0xC0,0xC0,0x40,0xC0,0xC0};