C8051f312 microcontroller [closed]

柔情痞子 提交于 2019-12-02 13:04:26

1.First of all you should use one of 2 following options for #include directive

#include  "path-spec"
#include  <path-spec>

, not #include path-spec, as you did

2.To configuire 7th bit of P1 general I/O port to work in push-pull mode you should set

P1MDOUT = 0x80;

, not

P1MDOUT = 0x40;

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!