This project serves as a template for work with the Freescale FRDM-KL46 board. Support will be added to all on-board peripherals, sensors and I/O.

Dependencies:   FRDM_MMA8451Q MAG3110 TSI mbed

Fork of FRDM-KL46-Template by Mike Maas

Project Information:

Theory

This project has been created to serve as a template for those who wish to use the Freescale Freedom FRDM-KL46Z board. Existing drivers within mbed have been brought together and board specific configurations for certain inputs and outputs have included.

Libraries

TODOs

Hardware Information:

FRDM-KL46Z Information

Freescale Kinetis L-Series Microcontroller Information

Freescale Sensor Information

MMA8451Q

MAG3110

Revision:
0:79ae6809c2d0
Child:
1:28c81db67f50
diff -r 000000000000 -r 79ae6809c2d0 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed Dec 18 20:27:34 2013 +0000
@@ -0,0 +1,16 @@
+#include "mbed.h"
+
+Serial pc(USBTX, USBRX);
+
+
+int main() {
+
+    // Set Serial Port data rate and say Hello
+    pc.baud( 230400 );
+    pc.printf("Hello World\r\n");
+
+    // Loop with print and short delay
+    while(1) {
+        pc.printf("Hello again: 01234567890123456789012345678901234567890123456789012345678901234\r\n");
+    }
+}