We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Howdee
I'm trying to create a UART Debug Function in which i can pass it some parameters 1 of them a string or array of data I've tried then following but none of them work
FUNC void UARTinput(unsigned char CMD, unsigned char DATA[]) { ... }
FUNC void UARTinput(unsigned char CMD, unsigned char DATA[255]) { ... }
The idea is to run the Debug Function as follows: UARTinput( 0x34, 'HELLO WORLD')
Andy here it is stated in the debug language documentation, oddly I was using the simulator the last few weeks to find an obscure bug anyhow I happened to know for a change:
http://www.keil.com/support/man/docs/uv4/uv4_df_diffbtwdbgandc.htm
PS is the op sure it was a C251 he was working with? I haven't written anything for that thing for 8 years.
Stephen