minus-squarequiescentcurrent@discuss.tchncs.deOPtoAsk Electronics@discuss.tchncs.de•Shift register missing bitslinkfedilinkEnglisharrow-up1·1 year agoYou're 100% right, I've lost 'i' somewhere in my debugging process byte upper_byte = input_bin >> (8+i) ; byte lower_byte = (input_bin >> i) & 0x00FF; linkfedilink
minus-squarequiescentcurrent@discuss.tchncs.deOPtoAsk Electronics@discuss.tchncs.de•Shift register missing bitslinkfedilinkEnglisharrow-up2·1 year agoGood idea, I've tried usleep after all lines, but no change… linkfedilink
quiescentcurrent@discuss.tchncs.de to Ask Electronics@discuss.tchncs.deEnglish · edit-21 year agoShift register missing bitsplus-squarediscuss.tchncs.deimagemessage-square14fedilinkarrow-up16arrow-down10
arrow-up16arrow-down1imageShift register missing bitsplus-squarediscuss.tchncs.dequiescentcurrent@discuss.tchncs.de to Ask Electronics@discuss.tchncs.deEnglish · edit-21 year agomessage-square14fedilink
You're 100% right, I've lost 'i' somewhere in my debugging process
byte upper_byte = input_bin >> (8+i) ; byte lower_byte = (input_bin >> i) & 0x00FF;