BMS Master board Test1 - FTDI UART print

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
renemagrit
Date:
Thu Oct 29 14:00:46 2020 +0000
Commit message:
BMS Master communication TEST1 FTDI pinout

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r 0ef55b43a3d5 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Oct 29 14:00:46 2020 +0000
@@ -0,0 +1,11 @@
+#include "mbed.h"
+
+Serial pc(PC_12, PD_2); // tx, rx
+
+int main() {  
+    
+    while(1){
+        pc.printf("Nenad ide u Nemacku!\n");
+        wait(1.0);    
+    }    
+}
diff -r 000000000000 -r 0ef55b43a3d5 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Thu Oct 29 14:00:46 2020 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/a330f0fddbec
\ No newline at end of file