...
首页> 外文期刊>Nuts & volts >An Electronic Chessboard Using RGB LED Strips and Hall Effect Sensors: part2
【24h】

An Electronic Chessboard Using RGB LED Strips and Hall Effect Sensors: part2

机译:使用RGB LED灯条和霍尔效应传感器的电子棋盘:第2部分

获取原文
获取原文并翻译 | 示例

摘要

A flow chart of the Teensy 3.1 loop() function is shown in Figure 1. The mainLoop() function contains the majority of the functionality of the chessboard program; a simplified flow chart of it appears in Figure 2. The mainLoop() function processes three possible legal moves for each turn: 1. A piece moves to a legal empty space. 2. A piece is picked up, but is just returned to its original location. 3. A piece captures an opponent's piece.
机译:Teensy 3.1 loop()函数的流程图如图1所示。mainLoop()函数包含棋盘程序的大部分功能;其简化流程图如图2所示。mainLoop()函数每转一圈处理三个可能的合法移动:1.一块移动到合法的空白空间。 2.一件被拿起,但只返回到其原始位置。 3.一块抓住对手的一块。

著录项

  • 来源
    《Nuts & volts 》 |2017年第2期| 18-23| 共6页
  • 作者

    Theron Wierenga;

  • 作者单位
  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号