void setup() {
Serial.begin(9600);
Serial.println("Start !");
}
void inttobcd(const unsigned long bbb) {
int8_t d(0);
unsigned long t=bbb;
while (t>10) {
t=t/10;
d++;
}
t=bbb;
for (;t!=0;d--){
unsigned long l=1;
for (int8_t i=0; i<d; i++) l=l*10;
Serial.print(t/l);
t=t%l;
}
}
void loop() {
unsigned long bbb=4294967295;
inttobcd(bbb);
while (1);
}