j hemangini
Member level 1
assign hex value
I want to creat a code in which there is variabe name let Data_Byte and want assign hex value 0x41, initially to this variable. Binary equivalent of this value is
01000001. According to my requirement after every 100 clock cycle only one bit should be on out pin (from bit no 0 to 7 one by one after every 100 clock cycle).
So the main thing i want to ask is that how can i define this variable and how one bit can be transferred from this value.
thank you.
I want to creat a code in which there is variabe name let Data_Byte and want assign hex value 0x41, initially to this variable. Binary equivalent of this value is
01000001. According to my requirement after every 100 clock cycle only one bit should be on out pin (from bit no 0 to 7 one by one after every 100 clock cycle).
So the main thing i want to ask is that how can i define this variable and how one bit can be transferred from this value.
thank you.