WRF is reading a long word of 32 bits, starting with MSB first. So if the first 3 bytes are zero, you must read in a zero. You can't take a short cut and just send $15.
WRF is reading a long word of 32 bits, starting with MSB first. So if the first 3 bytes are zero, you must read in a zero. You can't take a short cut and just send $15.
Thanks,
I'd not seen that the VDrive2 was looking for a LONG.
Regards Bill Legge
This also works
The above prepares the VDIP for 24 characters. The next command would be something like thisCode:SEROUT2 VRXD, 188,["WRF 24",13]
Code:SEROUT2 VRXD, 188,["X",DEC2 HH,DEC2 MM,DEC2 SS,_ DEC2 ND,DEC2 NM,DEC3 NMD,DEC3 WD,DEC2 WM,DEC3 WMD,13,10]
And the VDIP is not looking for a LONG as in PBP LONG. The VDIP just needs to know how many characters it is expected to write.
Dave
Always wear safety glasses while programming.
Thank you, thats good to know, I'm making too much work out of it.
DSN is to monitor disk serial number
can i know how the return value can be readen from 16f688 and doing a comparison ?
i am using c language writing the software
is they any sample i can refer?
Bookmarks