图 5-11 电路原理图 2. 根据电路设计将电路板连接好。 3. 将 Arduino 板插到电路板上,并编程。 程序流程图如图 5-13 所示。 图 5-12 焊接好的电路板 糖果机程序代码 图 5-13 程序流程图 59