Aliexpressなどで販売されている64x32のフルカラードットマトリクスLED2枚とNucleo F401REを利用して、 E233系の駅停車時、路線名表示ありのLED側面行先表示を再現するプログラムです。 3秒間隔、3段階切替で、路線名、種別、行先、次停車駅を個別に指定することが可能です。
Dependencies: SDFileSystem mbed
Revision 25:8b1da0f21d32, committed 2015-01-04
- Comitter:
- chirashi
- Date:
- Sun Jan 04 17:06:32 2015 +0000
- Parent:
- 24:7232abdf7884
- Child:
- 26:99c72fe9366e
- Commit message:
- a
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun Jan 04 16:01:31 2015 +0000
+++ b/main.cpp Sun Jan 04 17:06:32 2015 +0000
@@ -117,6 +117,7 @@
//スクロール有効/無効(テスト用)
bool Scroll = 0;
+bool ScrollEnable = 0;
int ChangeCount = 0;
int LineNumber = 12;
@@ -1118,6 +1119,9 @@
SDFileRead();
+
+
+ if(ScrollEnable == 1){
//ScrollDebug
ScrollWriteCount = 80;
@@ -1167,7 +1171,7 @@
sprintf(SDFilePath,"/sd/E233/StopStation/StopStation%d.bin",4);
SDScrollBufferWrite(ScrollBuffer,ScrollWriteCount,0,80,16);
ScrollWriteCount = ScrollWriteCount + 80;
-
+ }
//Debug