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

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

main.cpp

Committer:
mmaas
Date:
2013-12-18
Revision:
0:79ae6809c2d0
Child:
1:28c81db67f50

File content as of revision 0:79ae6809c2d0:

#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");
    }
}