Commit 9601f3

2026-05-27 09:23:37 Bob Green: -/-
programming/machine library.md ..
@@ 11,15 11,15 @@
```
## Serial I/O
- ::: info
- Note. The xr68681 is clocked at 7.3728MHz, meaning you'll get double the baud rate listed in the data sheet as the datasheet assumes ha;f that rate. It will also affect the internal counter when it's clocked by the external clock.
- :::
-
```C
int _char_available(void);
char _getchar(void);
void _putchar(char c);
```
+ ::: info
+ Note. The xr68681 is clocked at 7.3728MHz, meaning you'll get double the baud rate listed in the data sheet as the datasheet assumes ha;f that rate. It will also affect the internal counter when it's clocked by the external clock.
+ :::
+
## LED Control
There's a block of 10 leds (LD7 on the SBC3-b3), and six of them can be used for anything you like. Led1 is furthest from the cpu:
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9