Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 1 day agoInfallible Codelemmy.mlimagemessage-square133fedilinkarrow-up1432arrow-down123
arrow-up1409arrow-down1imageInfallible Codelemmy.mlDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 1 day agomessage-square133fedilink
minus-squareJackbyDev@programming.devlinkfedilinkEnglisharrow-up1·10 hours 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-squareCroquette@sh.itjust.workslinkfedilinkarrow-up1·4 hours 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