• 请不要在回答技术问题时复制粘贴 AI 生成的内容
zhangzhitao
V2EX  ›  程序员

arduino 使用疑问

  •  
  •   zhangzhitao · Jun 30, 2020 · 1731 views
    This topic created in 2156 days ago, the information mentioned may be changed or developed.
    arduino 的 MsTimer2 库必须写 MsTimer2::start( );才会开始工作嘛?如果不写 MsTimer2::start( );是不是设置和停止语句就没有任何作用了
    1 replies    2020-06-30 23:55:06 +08:00
    xou130
        1
    xou130  
       Jun 30, 2020
    这个库是用片上另一个定时器,定时器不开就没有中断产生,说到底单片机编程就是设置什么地址什么值,这些语句都是往寄存器里写值,写肯定是写了,作用不会没有
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2982 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 14:57 · PVG 22:57 · LAX 07:57 · JFK 10:57
    ♥ Do have faith in what you're doing.