搜索资源列表
VendingMc
- 这个项目用C++设计了一个自动贩卖机的基础应用: 主要类包含: 投币,产品,货架,按钮, 出货口和显示屏. 主类售货机类包含其各种关系. 详见包内PDF-Principals of Operation You can imagine the external interface of the vending machine including a product display area allowing customers to see the available produc
gamefour
- 这是一个自动售货机程序实现,功能如下:1.按一下button1按钮,表示购买货物A,第一个LED灯亮;按两下button1按钮,表示购买货物B,第二个LED灯亮;按三下button1按钮,表示购买货物C,第三个LED灯亮,同时7段数码管显示所要购买货物的价格。 2.LED灯亮后,开始输入硬币。button2按一下,输入10元,按两下,输入二十元,以此类推;Button3按一下输入5元,按两下输入10元,以此类推;button4按一下输入1元,按两下输入2元,以此类推。7段数码管显示已投入的总