sonu singh
/
nrf52serial
nrf52 serial and ble nano2 serial
Revision 0:98aa84122685, committed 2018-05-02
- Comitter:
- linuxsonu
- Date:
- Wed May 02 09:37:36 2018 +0000
- Commit message:
- initial
Changed in this revision
diff -r 000000000000 -r 98aa84122685 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed May 02 09:37:36 2018 +0000 @@ -0,0 +1,9 @@ +#include "mbed.h" +Serial pc(P0_29,P0_30); +DigitalOut myled1(P0_13); +int main() { + pc.baud(9600); + while(1) { + pc.printf("it worked"); + } +} \ No newline at end of file
diff -r 000000000000 -r 98aa84122685 mbed-os.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-os.lib Wed May 02 09:37:36 2018 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/linuxsonu/code/mbed-os/#087a10df380b
diff -r 000000000000 -r 98aa84122685 mbed_app.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed_app.json Wed May 02 09:37:36 2018 +0000 @@ -0,0 +1,7 @@ +{ + "target_overrides": { + "NRF52_DK": { + "target.uart_hwfc": 0 + } + } +}