hello,
I am writeing to a udrive but I have to do it a byte at a time. So far I fill b1->b20 (28x1) with what I want to write. So for bytewise write I have.....
This is pretty inefficient does anyone have a method I could loop thru the variables?
Cheers,
I am writeing to a udrive but I have to do it a byte at a time. So far I fill b1->b20 (28x1) with what I want to write. So for bytewise write I have.....
Code:
SEROUT uDrive_TX,uDRIVE_BAUD,(0x40,0x77,b1)
SEROUT uDrive_TX,uDRIVE_BAUD,(0x40,0x77,b2)
SEROUT uDrive_TX,uDRIVE_BAUD,(0x40,0x77,b3)
SEROUT uDrive_TX,uDRIVE_BAUD,(0x40,0x77,b4)
.
.
.
Cheers,