What is the difference between = & |= in C?

前端 未结 0 1337
没有蜡笔的小新
没有蜡笔的小新 2020-12-13 23:06

I\'m new to c and trying to understand the difference between

DDRB |= 0b00000001;    

and

DDRB = 0b00000001;    
相关标签:
回答
  • 消灭零回复
提交回复
热议问题