DCCCommander:DCCCommander是CC ++ Arduino库,为为模型火车实现NMRA兼容DCC命令站提供了基础

上传者: 42157567 | 上传时间: 2023-02-13 02:33:33 | 文件大小: 20KB | 文件类型: ZIP
DCC指挥官 DCCCommander是用C / C ++编写的嵌入式库,为实现NMRA DCC命令站提供了基础。 DCCCommander提供了各种与火车和附件相关的设置的功能,包括:设置机车的速度,激活功能,切换道岔以及对DCC解码器进行编程。 DCCCommander将这些命令转换为NMRA兼容的DCC数据包,以便在磁道上传输。 根据数据包的类型对数据包进行优先级排序,DCCCommander会在后台跟踪需要长期重复的数据包。 附在TIMER1(AVR)或MCPWM0(ARM)上的中断服务程序获取这些数据包,并将优先级最高的数据包注入到精确的DCC波形中。 该信号适合与您的升压器/电站/电动机控制器一起放大。 请注意,Arduino输出不能直接驱动火车。 当前,DCCCommander支持各种Arduino设备,包括atmega168 / 328变体以及Yun和attiny

文件下载

资源详情

[{"title":"( 20 个子文件 20KB ) DCCCommander:DCCCommander是CC ++ Arduino库,为为模型火车实现NMRA兼容DCC命令站提供了基础","children":[{"title":"DCCCommander-master","children":[{"title":"DCCPktQ.h <span style='color:#111;'> 392B </span>","children":null,"spread":false},{"title":"DCCHardware.h <span style='color:#111;'> 355B </span>","children":null,"spread":false},{"title":"keywords.txt <span style='color:#111;'> 419B </span>","children":null,"spread":false},{"title":"DCCHardware.c <span style='color:#111;'> 6.54KB </span>","children":null,"spread":false},{"title":"DCCPacket.h <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"DCCCommandStation.h <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"examples","children":[{"title":"CmdrArduino_opsModeProgram","children":[{"title":"CmdrArduino_opsModeProgram.ino <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false}],"spread":true},{"title":"turnout","children":[{"title":"turnout.ino <span style='color:#111;'> 2.59KB </span>","children":null,"spread":false}],"spread":true},{"title":"CmdrArduino_accessory","children":[{"title":"CmdrArduino_accessory.ino <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"CmdrArduino_minimum","children":[{"title":"CmdrArduino_minimum.ino <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false}],"spread":true},{"title":"rfstation","children":[{"title":"rfstation.ino <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false}],"spread":true},{"title":"basestation","children":[{"title":"basestation.ino <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"DCCPktQ.c <span style='color:#111;'> 3.01KB </span>","children":null,"spread":false},{"title":"DCCPacket.c <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"cprint.c <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"cprint.h <span style='color:#111;'> 72B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"DCCCommandStation.cpp <span style='color:#111;'> 8.54KB </span>","children":null,"spread":false},{"title":"DCCScheduler.h <span style='color:#111;'> 746B </span>","children":null,"spread":false},{"title":"DCCScheduler.c <span style='color:#111;'> 2.49KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明