ユーザ用ツール

サイト用ツール


dsshieldauto

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン両方とも次のリビジョン
dsshieldauto [2018/01/24 21:08]
– [メルクリン車両の単純往復シャトル運転] yaasan
dsshieldauto [2018/01/27 07:49]
– [アドレス3車両のファンクション操作] yaasan
行 130: 行 130:
 void user_program(void) void user_program(void)
 { {
- SerialDS.println("Power On");+ Serial.println("Power On");
  CMD_Power(1);  CMD_Power(1);
   
行 137: 行 137:
  CMD_Wait(500);  CMD_Wait(500);
   
- SerialDS.println("Loc 3, Func 10, On");+ Serial.println("Loc 3, Func 10, On");
  CMD_LocFunction(ADDR_DCC + 3, 10, 1);  CMD_LocFunction(ADDR_DCC + 3, 10, 1);
   
  CMD_Wait(500);  CMD_Wait(500);
   
- SerialDS.println("Loc 3, Func 11, On");+ Serial.println("Loc 3, Func 11, On");
  CMD_LocFunction(ADDR_DCC + 3, 11, 1);  CMD_LocFunction(ADDR_DCC + 3, 11, 1);
   
  CMD_Wait(500);  CMD_Wait(500);
   
- SerialDS.println("Loc 3, Func 9, On");+ Serial.println("Loc 3, Func 9, On");
  CMD_LocFunction(ADDR_DCC + 3, 9, 1);  CMD_LocFunction(ADDR_DCC + 3, 9, 1);
   
  CMD_Wait(500);  CMD_Wait(500);
   
- SerialDS.println("End...");+ Serial.println("End...");
  /* 永久ループ(終了) */  /* 永久ループ(終了) */
  while(1){}  while(1){}
dsshieldauto.txt · 最終更新: 2018/01/27 08:44 by yaasan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki