You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
550 B

//TestTerSer.ino Terminal série et aff nombres
#include "TerSer.h"
int16_t v16s; uint16_t v16; uint8_t v8;
void setup() {
SetupTerSer();
}
void loop(){ // empty 456 bytes 16 var
Textln("Test TerSer");
v8= 19; Bin8(v8); CR();
v16= 1000; Hex16(v16); CR();
v16s= 0; Dec16(v16s);CR();
v16s= 5; Dec16(v16s);CR();
v16s= 23124; Dec16(v16s);CR();
v16s= -200; Dec16(v16s);CR();
v16= 200; Dec16(v16);CR();
for(;;);
}
/*
Size is 1242 bytes on my PC -0s
Test TerSer
00010011
03E8
0
+5
+23124
-200
200
*/