https://github.com/ripred/fansi
Arduino library that easily allows sending ANSI control sequences to a PC, Mac, or Linux machine. The PC, Mac, and Linux sides are even easier! Just copy from the serial port directly to the console! 😎
https://github.com/ripred/fansi
Last synced: about 1 year ago
JSON representation
Arduino library that easily allows sending ANSI control sequences to a PC, Mac, or Linux machine. The PC, Mac, and Linux sides are even easier! Just copy from the serial port directly to the console! 😎
- Host: GitHub
- URL: https://github.com/ripred/fansi
- Owner: ripred
- License: mit
- Created: 2023-03-11T01:06:47.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-28T02:00:20.000Z (over 2 years ago)
- Last Synced: 2024-05-01T23:33:23.186Z (about 2 years ago)
- Language: C++
- Size: 585 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/marketplace/actions/arduino_ci)
[](https://github.com/ripred/fANSI/actions/workflows/arduino-lint.yml)

[](https://github.com/ripred/fANSI/releases)
[](https://github.com/ripred/fANSI/blob/master/LICENSE)
fANSI Library
This library allows you to send ANSI control sequences to a PC, Mac, or Linux
machine simply by sending to the Arduino Serial port.
You can view the output in any terminal or console window on any operating system
that supports ANSI escape sequences.
Includes support for 4-bit, 6-bit, and full 24-bit color support in common
terminal window output from any microcontroller that can output serial data
at 9600 N81. Which is pretty much every one.
Includes support for cursor on/off, cursor positioning, erasing to end-of-display
or to end-of-line, alternate screen buffers, borders, and more!
To display the output from the Arduino or other MCU just copy from the COM port or device to your console output:
```
ripred$ ls /dev/cu.usb*
/dev/cu.usbserial-0001
ripred$
ripred$
ripred$ cat /dev/cu.usbserial-0001
```
