简易彩灯控制器的设计
作者:Angeladady
创作立场声明:本文所涉及的产品内容没有任何恰饭成分,都是本人在桌面改造过程中实际购买和体验分享,大家可以放心。
每每刷到大妈上各位达人的桌面改造效果,都是让我很惊艳,再看看自己那狭小、杂乱的书桌(我都不敢称它为电脑桌),最终我决定在这个双十一各个商品都在降价的时候,来小改一下我的电脑桌面。
![](https://p0.ssl.img.360kuai.com/t01c93262b54b019181.jpg)
之前是这样的,线材有点乱,而且收纳摆放的位置都不多了。
为什么是小改?首先,我的书桌就在床头旁边,本身只有1米多一丢丢的宽度,桌面的宽度已无法增加,所以和家里LD商量下来的结果就是不换桌面,增加收纳空间、灯光,整理线材,尽可能做到节约,不浪费。
废话不多说,先来看看改造后的效果吧!
![](https://p0.ssl.img.360kuai.com/t0131334bf1ed9e37b9.jpg)
看上去感觉一般,但对比改造前,我觉得还不错吧,毕竟是“螺蛳壳里做道场”,比之前炫彩了很多,有点电竞桌的意思了,并且收纳空间更多,更合理了。
这次的改造,添加的物品和一些小配件给大家列个表吧,大多数还是比较实用的,也有个把纯是看中了颜值,大家按需购买吧!
1. 洞洞板立式置物架————————————307元
2. Yeelight 智能彩灯带———————————189元
3. 吸顶灯条————————————————106.9元
4. 键盘收纳架———————————————139元
5. 一些收纳整理的小东西——————————零零散散几十元
一、 洞洞板立式置物架:
这是最先确定下来要买的东东,其实这就跟造房子差不多,先确定大致框架,造好之后才是各种软装、家具,买进来填充。在浏览,对比了多款置物架后,确定了洞洞板立式置物架,增加了逼格,又增加了收纳空间。
关于洞洞板立式置物架的一些问题,比如稳不稳啊?会不会倾倒啊?上面的层板结实吗?东西会掉下来吗?往后看,我会一一为大家解答
![](https://p0.ssl.img.360kuai.com/t01abe9b6f0efb43af3.jpg)
一大包配件,不过实话实说,厂家出厂前没有处理好。
![](https://p0.ssl.img.360kuai.com/t011e45047af932de4c.jpg)
![](https://p0.ssl.img.360kuai.com/t01ff98457138eb6e79.jpg)
一层灰。花了我半小时,厂家出厂前最起码应该擦拭干净,用塑料薄膜封好,这样不管谁安装,都不会让人感官上不舒服,希望厂家之后有所改进。
![](https://p0.ssl.img.360kuai.com/t01370862648f9294de.jpg)
所有配件,挂钩、收纳筐、螺丝等都在里面了。
![](https://p0.ssl.img.360kuai.com/t01dfbdb667c941e058.jpg)
按照安装视频先装框架,因为有底座,所以整体还算平稳,后面装完,看看稳定性如何。
![](https://p0.ssl.img.360kuai.com/t01bc7432f045557a31.jpg)
架子的连接处用螺丝拧紧,中间加了厚钢管加以辅助固定。
![](https://p0.ssl.img.360kuai.com/t01116a8ab9c47f0432.jpg)
把洞洞板装入旁边的预装孔,一共四块,如果我有足够多的挂钩,可以增加很多的收纳空间。
![](https://p0.ssl.img.360kuai.com/t01d427ff0d6be005d4.jpg)
下面就是装层板,根据自己放置物品高度的需求,安装层板支架,放上层板即可,方便还是挺方便的,就是最好有个人搭把手,毕竟也是个大家伙。
![](https://p0.ssl.img.360kuai.com/t01e3181967040d1716.jpg)
安装完成,整体看起来还行(完美主义者绕道),轻轻摇晃不会倾倒,而且平时使用会被桌子抵住,所以不用担心出现倾倒的情况,就是层板上层的东西需要注意,摆放稳当一点,不要出现,掉下来砸脑袋的情况。
二、Yeelight 智能彩灯带:
![](https://p0.ssl.img.360kuai.com/t01de0a60992132fabd.jpg)
要问我的桌面改造计划何时开始计划的,最起码两年了,因为我的灯带就是21年买的,有单子为证,我都对自己无语了。哈哈哈!看了眼现在的价格,居然还是原价,很保值啊,也有点让我意外。
![](https://p0.ssl.img.360kuai.com/t01be30cff8955306f3.jpg)
盒子,实话实话,有点太简陋了,可以说毫无设计感,可能就是为了线上销售,反正只看产品,包装外观什么的都不重要,要是放线下,可能我都把它当成山寨产品。
![](https://p0.ssl.img.360kuai.com/t01420b019fe9a1d5cb.jpg)
yeelight 灯带控制器,可以控制开关和七种颜色切换,米家App更能调节多种颜色。背面有双面胶,揭下胶布可以粘贴在固定位置。
![](https://p0.ssl.img.360kuai.com/t011713f4c2a50c2c3f.jpg)
在我的桌子和洞洞板置物架上比划了好几回,算上延长包的1米,正好在桌面和第一层层板之间,绕个来回,灯带后面的胶贴两年了,居然粘性还不错。
![](https://p0.ssl.img.360kuai.com/t01388dee90c3c352af.jpg)
最后的效果,还不错,个人比较喜欢蓝色,看着有点电竞房的感觉了。
三、吸顶灯条:
因为键盘收纳架的缘故,有一层层板空间,需要大概30cm出头的高度,安装洞洞板的时候,发觉原使用的台灯高度有点太高了,影响到层板的架设了,所以当时就想到了两个对策:1、换台灯;2、换新照明源。
![](https://p0.ssl.img.360kuai.com/t01b3ef6fd82ae35925.jpg)
我选择了吸顶灯条,因为层架下方空间正好可以利用,而且灯条体积小,极大了节省了桌面的空间,所以选择了一款护眼型的吸顶灯条。
![](https://p0.ssl.img.360kuai.com/t0123347f245e25988c.jpg)
![](https://p0.ssl.img.360kuai.com/t018ca33980007a71bf.jpg)
简单的设计,环保材料外包装。所有的东西都在这了,灯条、双面胶贴、螺丝刀、电源。
![](https://p0.ssl.img.360kuai.com/t01b5fad235b7ca4192.jpg)
书桌灯,10w的额定功率,可以拧螺丝固定,也可以用赠送的胶贴固定,本身重量很轻,建议胶贴,免开孔。
![](https://p0.ssl.img.360kuai.com/t014fa09fa9a7fe0502.jpg)
因为设计为左右两端都能插电源,但只能一端供电,所以还是给了警示贴的。
![](https://p0.ssl.img.360kuai.com/t018f254c17d0db71d1.jpg)
安装很简单,贴上即可,层板下面的凹槽正好可以容纳灯条,完美。
![](https://p0.ssl.img.360kuai.com/t01b5d9f353b4b8440e.gif)
晚上码字使用亮度绝对够了,而且触摸式的设计,不用在那摸索开关按钮,很方便。
四、键盘收纳展示架:
![](https://p0.ssl.img.360kuai.com/t01c2e199a0287bdc30.jpg)
这款收纳架的购买纯粹始于颜值,因为大数据,搜索过一些关于桌面的东西,首富家就一直给我推相关的物品,直到看到这款键盘收纳架,我把持不住了,放入了购物车。
![](https://p0.ssl.img.360kuai.com/t010c5d3cfac7ea3e08.jpg)
价格确实略贵,但是我也是对比了一部分不同材质的产品,才决定入手这一款的。
![](https://p0.ssl.img.360kuai.com/t0152c435262a68547f.jpg)
网上也有这种亚克力薄质的收纳架,便宜不少也挺好看,但是看评论都说放的多或者放铝坨坨可能不太行,支撑不住。关键是我有铝坨坨啊,怕收纳架垮了,从层板上掉下来砸脑袋就不好了。
![](https://p0.ssl.img.360kuai.com/t013b72edb569b0f566.jpg)
横板、白色荔枝纹皮料、侧面支架板还有螺丝,配件整体做工看上去都还不错。
![](https://p0.ssl.img.360kuai.com/t0132bc71fce42c8b52.jpg)
皮料手感很舒服,一会儿我要贴在横板上,很考验我的手稳不稳,厂家考虑也是周到,还多送了一条,以防手残贴坏。
![](https://p0.ssl.img.360kuai.com/t01ba313087a061ea64.jpg)
![](https://p0.ssl.img.360kuai.com/t012ff3e346562299f1.jpg)
我是傻乎乎的先把整体装好了,在准备贴皮料,其实可以先把皮料贴好了,再整体装起来。后面也确实验证我错误的做法,贴皮料不太方便。
![](https://p0.ssl.img.360kuai.com/t018611920edc9fc47c.jpg)
连接处都用螺丝固定,螺丝做工不错,厚实不毛糙,用料非常棒,看起来也不会出现生锈的情况。
![](https://p0.ssl.img.360kuai.com/t018b5a33de756130f9.jpg)
![](https://p0.ssl.img.360kuai.com/t011c3631492dfc57c2.jpg)
贴好了,总算看起来有点那个意思了,当然中途也贴歪了一条。
![](https://p0.ssl.img.360kuai.com/t019ae487792ed5884c.jpg)
这次总算没手残,贴得还算平整,给自己赞一个。
![](https://p0.ssl.img.360kuai.com/t012056eb5b20e54e6a.jpg)
三层键盘架,正好放我三个键盘,有铝坨坨也没问题,非常稳。
五、一些收纳整理的小东西
1、桌下理线架
购买理线架,就是基本清理掉桌面上杂乱的线材,把插线板收纳到理线架内,桌面不凌乱,看起来更干净,也节省了不少桌面空间。
![](https://p0.ssl.img.360kuai.com/t0115c55b6cc4cc08fe.jpg)
这种小东西随便买,买适合自己的,我买的是粘贴式的,也有挂钩式的,反正都差不多。
处理干净桌子表面,贴上即可。
![](https://p0.ssl.img.360kuai.com/t01f075f0a6593a1491.jpg)
本来准备贴在桌面靠墙那一面,但是平时再需要拔插插头,手伸不进去,不方便,最后重新贴在了侧面。
2、走线固定神器
![](https://p0.ssl.img.360kuai.com/t0167e5817f05c75e37.jpg)
因为线材多,需要走线,又不能太凌乱松散,而且吸顶灯的走线也需要规划一下,隐蔽成无线当然是最好了。
![](https://p0.ssl.img.360kuai.com/t0153b578ede5f24f2d.jpg)
就这样荡来荡去,不好看,所以想到了首富家看看,有没有合适的固定走线的东东,于是发现了这款神器。
![](https://p0.ssl.img.360kuai.com/t017bcf5afd169c0623.jpg)
能贴在任何物体表面,对线材形成固定的走线,总体是方便、好用还不贵,并且去除也还可以,会有点留胶,不多。
3、自粘式魔术扎带
线材太多,虽然在桌下,但是看起来还是乱,扎带是个好东西,但不同于普通扎带,这款自粘式的可以反复使用,挺方便的。
首富家双十一红包后的价格,大家冷静。
![](https://p0.ssl.img.360kuai.com/t018929c3b9cae927c7.jpg)
魔术贴型的理线带,可以自由裁剪,长度自由绝对。
![](https://p0.ssl.img.360kuai.com/t0142cf1ebe31ca7d11.jpg)
强力粘合,不容易脱落,而且可重复使用,收纳线材的好帮手。
4、数据线收纳槽
智能设备越来越多,需要充电的设备也多,经常找不到这个充电头,或者找错。
![](https://p0.ssl.img.360kuai.com/t0182e9753bbb058680.jpg)
贴在桌角就行,有了这款收纳槽各个不同型号的线材一目了然,不用到处找,收纳也更整齐,不错的小东西。
最后统计一下此次改造计划所花的明细,给大家个参考吧
![](https://p0.ssl.img.360kuai.com/t0177ffefd9ac2955e4.jpg)
一共花了814.1元,其中灯带还是几年前买的,这次没花这个钱,后续升级改造的话,还可以吧桌面换成升降桌,而且不影响走线,置物架什么的,很方便。
写在最后:
此次的桌面改造就分享到这,有什么疑问的,可以评论区与我互动,我会知无不言,言无不尽。(有几个商品链接无法解析,所以喜欢的自己搜索下)。
阅读更多其他电脑外设精彩内容,可前往什么值得买查看
","gnid":"94527fda91fb3b6a0","goods_list":[{"goods_channel":"小米有品","goods_cover":"https://p0.ssl.img.360kuai.com/t01ef0256a69e70d701.jpg?size=600x600","goods_link":"https://go.smzdm.com/57011d90232d62e9/ca_fz_0_0_0_0_0_0_0","goods_name":"Yeelight智能彩光灯带延长包1米","goods_pos":1,"goods_price":"39"},{"goods_channel":"天猫精选","goods_cover":"https://p0.ssl.img.360kuai.com/t01ab4d8d71b30981e0.jpg?size=600x600","goods_link":"https://go.smzdm.com/d4aeeb5391ad515c/ca_fz_0_0_0_0_0_0_0","goods_name":"led台灯护眼灯家用220v插电式书桌吸顶灯条长条学习专用阅读灯管","goods_pos":2,"goods_price":"88"},{"goods_channel":"天猫精选","goods_cover":"https://p0.ssl.img.360kuai.com/t01a18bbf60904aed9d.jpg?size=600x800","goods_link":"https://go.smzdm.com/dfd9a3a3677d58d6/ca_fz_0_0_0_0_0_0_0","goods_name":"数据线收纳神器桌面理线器电脑束线魔术贴扎带电线网线走线固定器","goods_pos":3,"goods_price":"7.9"},{"goods_channel":"天猫精选","goods_cover":"https://p0.ssl.img.360kuai.com/t01ab50e94a0b72a6f1.jpg?size=600x600","goods_link":"https://go.smzdm.com/662f9f90090735a2/ca_fz_0_0_0_0_0_0_0","goods_name":"日本网线电线扎带束线带可剪裁自粘式魔术扎带插排固定线束理线带","goods_pos":4,"goods_price":"8.9"},{"goods_channel":"天猫精选","goods_cover":"https://p0.ssl.img.360kuai.com/t0174ad38e2456b19d5.jpg?size=600x600","goods_link":"https://go.smzdm.com/376de3a92e86329a/ca_fz_0_0_0_0_0_0_0","goods_name":"电线收纳盒插座充电电源器理线神器整理装饰遮挡插线板数据拖藏线","goods_pos":5,"goods_price":"6.95"}],"img_data":[{"flag":2,"img":[{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t01c93262b54b019181.jpg","width":"1080"},{"desc":"","height":810,"title":"","url":"https://p0.ssl.img.360kuai.com/t010c7874a94e3d4fce.jpg","width":1080},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t01abe9b6f0efb43af3.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t011e45047af932de4c.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t01ff98457138eb6e79.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t01370862648f9294de.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t01dfbdb667c941e058.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t01bc7432f045557a31.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t01116a8ab9c47f0432.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t01d427ff0d6be005d4.jpg","width":"1080"},{"desc":"","height":810,"title":"","url":"https://p0.ssl.img.360kuai.com/t0125b787ab6a542981.jpg","width":1080},{"desc":"","height":"473","title":"","url":"https://p0.ssl.img.360kuai.com/t01de0a60992132fabd.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t01be30cff8955306f3.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t01420b019fe9a1d5cb.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t011713f4c2a50c2c3f.jpg","width":"1080"},{"desc":"","height":"810","title":"","url":"https://p0.ssl.img.360kuai.com/t01388dee90c3c352af.jpg","width":"1080"},{"desc":"","height":"703","title":"","url":"https://p0.ssl.img.360kuai.com/t01b3ef6fd82ae35925.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t0123347f245e25988c.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t018ca33980007a71bf.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t01b5fad235b7ca4192.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t014fa09fa9a7fe0502.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t018f254c17d0db71d1.jpg","width":"1080"},{"desc":"","height":"539","s_url":"https://p0.ssl.img.360kuai.com/t01b5d9f353b4b8440e_1.gif","title":"","url":"https://p0.ssl.img.360kuai.com/t01b5d9f353b4b8440e.gif","width":"960"},{"desc":"","height":"1246","title":"","url":"https://p0.ssl.img.360kuai.com/t01c2e199a0287bdc30.jpg","width":"1080"},{"desc":"","height":"659","title":"","url":"https://p0.ssl.img.360kuai.com/t010c5d3cfac7ea3e08.jpg","width":"1080"},{"desc":"","height":"800","title":"","url":"https://p0.ssl.img.360kuai.com/t0152c435262a68547f.jpg","width":"800"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t013b72edb569b0f566.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t0132bc71fce42c8b52.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t01ba313087a061ea64.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t012ff3e346562299f1.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t018611920edc9fc47c.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t018b5a33de756130f9.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t011c3631492dfc57c2.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t019ae487792ed5884c.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t012056eb5b20e54e6a.jpg","width":"1080"},{"desc":"","height":"561","title":"","url":"https://p0.ssl.img.360kuai.com/t0115c55b6cc4cc08fe.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t01f075f0a6593a1491.jpg","width":"1080"},{"desc":"","height":"684","title":"","url":"https://p0.ssl.img.360kuai.com/t0167e5817f05c75e37.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t0153b578ede5f24f2d.jpg","width":"1080"},{"desc":"","height":"810","title":"","url":"https://p0.ssl.img.360kuai.com/t017bcf5afd169c0623.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t018929c3b9cae927c7.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t0142cf1ebe31ca7d11.jpg","width":"1080"},{"desc":"","height":"721","title":"","url":"https://p0.ssl.img.360kuai.com/t0182e9753bbb058680.jpg","width":"1080"},{"desc":"","height":"631","title":"","url":"https://p0.ssl.img.360kuai.com/t0177ffefd9ac2955e4.jpg","width":"1080"}]}],"original":0,"pat":"art_src_1,fts0,sts0","powerby":"pika","pub_time":1700404561000,"pure":"","rawurl":"http://zm.news.so.com/55b54dfc880d610773ea92340a29e72f","redirect":0,"rptid":"f4586a58673b4608","rss_ext":[],"s":"t","src":"什么值得买","tag":[],"title":"只花费几百元,就能完成我的桌面小改计划
干怨马1394彩灯控制器的元件 -
龙时味13550115433 ______ 彩灯控制器电路由电源电路和彩灯控制电路组成,如图所示. 电源电路由整流二极管VDl-VD4、限流电阻器Rl、稳压二极管VS和滤波电容器Cl组成.
干怨马1394有谁会彩灯控制器设计
龙时味13550115433 ______ 用单片机或者存储器 如果不允许用,可以这样,整个过程分成24步,每步0.5秒.用几个个4017计数器,完成计数,然后用二极管矩阵完成译码.
干怨马1394彩灯控制器设计功能要求:1、用LED数码管作为控制器的显示元件,它能自动地依次显示出数字0、1、2、3、4、5、6、7、8、9(自然数列),1、3、5... -
龙时味13550115433 ______[答案] 同学 我是裴老师 实习作业请自觉独立完成
干怨马1394基于单片机的彩灯循环控制器设计 -
龙时味13550115433 ______ 由于工作比较忙,所以只能给你讲个大概的思路! 循环发光,奇,偶发光,用三个键来分别控制,按下那个键就怎么发光. 循环发光就是I/O端口依次有输出就可以了,每个输出端口延时就可以了. 奇发光和偶发光就是跳一个端口输出就可以了,中间也用延时.这两个程序要分开来写,不要放在一起搅合,到时候自己都分不清楚了. 彩灯的显示时间间隔可以设置2个键来控制,一个加,一个减.他们都是用来控制延时参数的.
干怨马1394彩灯循环控制器设计 -
龙时味13550115433 ______ 电路由555定时器、同步4位二进制计数器74HCl63和4线-16线译码器/分配器74HCl54组成复杂一点的可以用单片机做.
干怨马1394用电路仿真软件multisim设计一个彩灯控制器 -
龙时味13550115433 ______ (一)设计要求包括:1、八路彩灯分别用8个发光二极管模拟,编号依次为0,1,…7,8个数码管依次显示;数字0、1、2……8不断循环,相应的8路彩灯能够自动循环点亮,每个数字...
干怨马1394plc循环控制系统设计一个8路彩灯控制器,彩灯实现按一定规律点亮和熄灭.控制要求如下:1.从左至右依次点亮,全亮后在从左至右顺次熄灭;2.从两变到中... -
龙时味13550115433 ______[答案] 1,用右位移指令. 2,还是用右移指令+左移+补位. 3,用左移指令+补位.
干怨马1394彩灯控制器的设计 -
龙时味13550115433 ______ 用单片机是最简单的.也可以用数字电路CD4017实现.0.5S、1S的问题用晶振+分频器做,时间可调用模拟开关CD4051做.
干怨马1394彩灯控制电路的设计 -
龙时味13550115433 ______ 实训作业应该是自己做的,他人没有权利和义务给你发答案,我只能告诉你设计思路,具体方法你还要靠自己.非单片机的方法:8个led彩灯左右移动闪烁可以使用4017制作的流水灯电路,间隔1秒的要求不高,可以使用555时基电路构成周期为1秒的时钟振荡器,亮灭的速度由时钟周期来控制,直接调节555的充放电电容的容量或是电阻阻值即可,左移和右移不是绝对的,所以,用2个4017控制8个双色led即可,全亮和全灭就是将电源直接连接驱动电路 单片机方法:使用acall delay,setb p1.0,clr p1.1的语句去控制就可以了,电路连接很简单,就是编程稍微麻烦些
干怨马1394四花样自动切换的彩灯控制器设计 不要用单片机编程实现.(单片机编程我已会) -
龙时味13550115433 ______ 我用的 是51单片机 我现在写一个吧:#include<reg51.h> sbit K1 = P1^0; //按键1 sbit K2 = P1^1;//按键2 sbit K3 = P1^2;//按键3 void delay(unsigned int t)//延时函数 { while(t--); } void main() { while(1) { if(K1==0) { P0 = 0x01; delay(10000) ; P0 = ...