SMPTE timedode (LTC) decode library for mbed

Dependents:   LTC_SMPTE_sample

SMPTE timedode (LTC) decode library

SMPTEタイムコードをデコード(受信)・エンコード(送信)するライブラリです。

平衡/不平衡/サウンド等によるLTC信号は、適当な回路で整形して入力してください。
出力は適当なドライバ回路を設けてください。

簡易的なプログラムのため、細かいフラグなどは無視しています。

LPC1768 専用、Timer 2 を占有します。

Sample

Import programLTC_SMPTE_sample

SMPTE timedode (LTC) decode library for mbed https://developer.mbed.org/users/okini3939/code/LTC_SMPTE/

Revision:
2:13a89fffbb75
Parent:
1:63ceee4bfd05
--- a/LTC_SMPTE.h	Fri Apr 13 04:05:13 2018 +0000
+++ b/LTC_SMPTE.h	Mon May 14 08:50:39 2018 +0000
@@ -40,7 +40,7 @@
     int bit;
     char code[10];
     int hour, min, sec, frame;
-    int drop, direction;
+    int drop, direction, fps;
     int received;
 
     enum LTC_TYPE type;