master
parent e107fd0990
commit 39733d21db

@ -87,7 +87,7 @@ For more information please see the [ATmega328 Datasheet](http://ww1.microchip.c
| TerSer function | Description | Example Code |
| --------------- | --------------- | --------------- |
| `Car(cc);` | Send code cc to the UART | `Car(' '); Car(32); Car(0x20); //All three print a space` |
| `cc=Get();` | Wait for a key depressed. Use Teraterm, or other terminal software that does not work line-oriented. | Car( Get() ); //Echo of the typed character |
| `cc=Get();` | Wait for a key depressed. Use Teraterm, or other terminal software that does not work line-oriented. | `Car( Get() ); //Echo of the typed character` |
| `Text("abcd");` | Send the text and add a space | |
| `Textln("abcd");` | Same with CRLF | |
| `CR();` | Send a CR-LF | |
@ -98,8 +98,8 @@ For more information please see the [ATmega328 Datasheet](http://ww1.microchip.c
| `Hex32(v);` | Display the 8 nibbles of the variable v, converted to integers | `Hex32(260); // Output: 00000104` |
| `Dec8(v);` | Display the variable v, with its signs if signed and non-significative space or zeros | `Dec8(33); // Output: +.33. or +033. or .+33` |
| `Dec16(v);` | Display the variable v, with its signs if signed and non-significative space or zeros | `Bin8(1035); // Output: +.1035. or +01035. or .+1035` |
| `Dec8u(unsigned); Dec8s(signed);` | Shorter code | |
| `Dec16u(unsigned); Dec16s(signed);` | Shorter code | |
| `Dec8u(unsigned);Dec8s(signed);` | Shorter code | |
| `Dec16u(unsigned);Dec16s(signed);` | Shorter code | |
| `Normal();` | ..+nnn default mode (a dot represents a space) | |
| `Spaces();` | +..nnn best for tabular data | |
| `Zeros();` | +00nnn if you prefer | |

Loading…
Cancel
Save