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.
Dependencies: mbed LoRaWAN-lib
Diff: app/vt100.h
- Revision:
- 8:8d6f486e1a7d
- Parent:
- 3:9c6f7f082151
--- a/app/vt100.h Tue Jul 05 15:01:57 2016 +0000
+++ b/app/vt100.h Tue Apr 04 13:43:31 2017 +0000
@@ -52,9 +52,8 @@
WHITE = 7,
};
- VT100( PinName tx, PinName rx ): SerialBase( tx, rx )
+ VT100( PinName tx, PinName rx ): SerialBase( tx, rx, 115200 )
{
- this->baud( 115200 );
// initializes terminal to "power-on" settings
// ESC c
this->printf( "\x1B\x63" );
@@ -152,7 +151,7 @@
*/
int getc( )
{
- return _base_getc();
+ return _base_getc( );
}
/** Write a char to the serial port