Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Frequency_Counter_w_GPS_1PPS FreqCntr_GPS1PPS_F746F4xx_w_recipro
Fork of iSerial by
iSerial Class Reference
#include <iSerial.h>
Public Member Functions | |
| iSerial (PinName _tx, PinName _rx, int _txbufsize=100, int _rxbufsize=100) | |
| Configure pin and buffer size. | |
Detailed Description
iSerial class
#include "mbed.h" #include "iSerial.h" iSerial pc(USBTX, USBRX, 32, 1024); int main() { uint32_t n = 0; while(true){ pc.printf("count n=%d", ++n); wait(1.0); } }
Definition at line 36 of file iSerial.h.
Constructor & Destructor Documentation
| iSerial | ( | PinName | _tx, |
| PinName | _rx, | ||
| int | _txbufsize = 100, |
||
| int | _rxbufsize = 100 |
||
| ) |
Configure pin and buffer size.
- Parameters:
-
pin assign TX, RX the buffer size for TX, RX
Definition at line 38 of file iSerial.cpp.
Generated on Wed Jul 13 2022 12:22:36 by
1.7.2
