KRproject-tech / binlog4mbed

Fast binary data logging code for mbed LPC1768.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Communication

Twitter

Language

BinLog4mbed

Sample code of the Fast binary data logging for mbed LPC1768.

This code is for gcc4mbed compiler: https://github.com/adamgreen/gcc4mbed

Binary file saved in mbed is read by MATLAB code in "./load binary/"

Format

Data is written as short int (2 Bytes) in "DATA.LOG".

image

Usage

  • Compile mbed code

Compile source code, and generated "fwrite_test.bin" move to the local storage of mbed LPC1768.

"DATA.LOG" is generated in local storage in mbed.

  • Read binary file

Read the generated file by "./load binary/plot_data.m"

図2

About

Fast binary data logging code for mbed LPC1768.

License:MIT License


Languages

Language:C++ 46.5%Language:MATLAB 35.7%Language:Makefile 17.8%