terminal * simpleterm_pointer(void)
Get default device pointer to SimpleIDE Terminal.
fdserial * fdserial_open(int rxpin, int txpin, int mode, int baudrate)
Open a full duplex serial connection.
int dprint(text_t *device, const char *format,...) __attribute__((format(printf
Print format "..." args to the device The output is limited to 256 bytes.
int print(const char *format,...) __attribute__((format(printf
Print format "..." args to the default simple terminal device. The output is limited to 256 bytes.
void simpleterm_close(void)
Closes the SimpleIDE Terminal connection in one cog so that it can be opened in another cog with simp...
int readChar(text_t *device)
Get char from the device.
void writeChar(text_t *device, char c)
Send a character to the device.
Structure that contains data used by simple text device libraries.
terminal * simpleterm_open(void)
Reopens the SimpleIDE Terminal connection if it was closed previously. The SimpleIDE Terminal connect...