Steve, I've attached the VB program and the PBP prog. Its pretty uglgy but for the best part it works. Its works well with the vb prog when variables are sent as byte1, byte2. Strange this occur when the variable is sent eg HSEROUT ["aa", stepcnt].
I also changed to the USART as I found using the serial commands I could not catch external inputs.
Thanks for your time Steve,
John
Bookmarks