int x;
int y;
int a;
int b;
int c;
void setup()
{
Serial.begin(9600);
a = 5;
b = 8;
c = a + b;
Serial.print(c);
Serial.println();
Serial.print(c, BIN);
Serial.println();
}
void loop()
{
delay(5000);
}
// ------------------------------------------------------------------------------------
/*
const prog_uint8_t BitMap[5] = { // store in program memory to save RAM
B1100011,
B0010100,
B0001000,
B0010100,
B1100011
};
typedef struct {
unsigned rawdat : 100;
} DATUM
-----------------------------------------------------------------------------------------
#define VELIKOST_POLE 100
// Deklarace a inicializace bitového pole
byte RAWDATA[(VELIKOST_POLE + 7) / 8] = {0}; // Použití byte zajistí, že každý prvek pole bude obsahovat 8 bitů
void setup() {
// Kód inicializace, pokud potřebuješ
}
void loop() {
// Kód hlavní smyčky, pokud potřebuješ
}
*/