打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
ledcontrol library
I am trying to understand libraries.

I am working with the ledcontrol.h library.

I am able to drive a set of four seven segment displays using a max7219 with the following instructions from the library

LedControl lc=LedControl(12,11,10,1);
//wake the max7219
 lc.shutdown(0,false);
 // Set the brightness to a medium values //
 lc.setIntensity(0,3);
 // and clear the display //
 lc.clearDisplay(0);
lc.setRow(0,0,a[0]................lc.setRow(0,7,a[7]);

this means I have to make each bit of my code relate to each of the seven segments.
I understand I can put the max7219 into a decode mode that allows it to read hex and decode it into seven segment information to pass to the display. the datasheet calls this decode and says if I put
00001001 into the register it will perform this function.

If I go to the libraries page in the reference and click on ledcontrol it sends me to a login page (I am already logged in) which then sends me to a blank page when I log in?  update -- this happens on internet explorer now for all functions but not on firefox?

Is it possible to turn the decode on with an instruction similar to the ones above so I can send hex data to drive the seven segment displays?
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
通达信之多方炮选股公式
LedControl库的使用心得,欢迎大家指正。
seven
Seven Times Seven 7乘7
Seven24
回调必杀选股
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服