Destide to Programmer Humor@lemmy.mlEnglish • 12 days agoInfallible Codelemmy.mlimagemessage-square165fedilinkarrow-up1487arrow-down127
arrow-up1460arrow-down1imageInfallible Codelemmy.mlDestide to Programmer Humor@lemmy.mlEnglish • 12 days agomessage-square165fedilink
minus-squareJackbyDevlinkfedilinkEnglish1•11 days agoDefine on as true or something? Or maybe that’s more confusing. I’m not a C dev so I’m not gonna pretend to understand idiomatic microcontroller code lol.
minus-square@Croquette@sh.itjust.workslinkfedilink1•11 days agoSometimes, people do that. But using 0/1 is explicit enough since you can refer to a line as ‘1’ or ‘0’ for high/low on the hardware as well
Define on as true or something? Or maybe that’s more confusing. I’m not a C dev so I’m not gonna pretend to understand idiomatic microcontroller code lol.
Sometimes, people do that. But using 0/1 is explicit enough since you can refer to a line as ‘1’ or ‘0’ for high/low on the hardware as well