Skip to content

Sample code of the fast binary data logging for Teensy 4.1.

License

Notifications You must be signed in to change notification settings

realstone1/binlog4teensy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Communication

Twitter

Language

BinLog4teensy

Sample code of the Fast binary data logging for Teensy 4.1.

Binary file saved in micro SD card is read by MATLAB code in "./load binary/"

Format

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

image

Arduino sketches

  • main.ino : main code

Required library for arduino IDE

Usage

  • Compile code

Compile source code by Arduino IDE and write to Teensy 4.1 board.

"DATA.LOG" is generated in micro SD card on Teensy 4.1 board.

  • Read binary file

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

図1

About

Sample code of the fast binary data logging for Teensy 4.1.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 64.2%
  • MATLAB 35.8%