Hello
I think my problem is in the upstream buffer will modify the codes
Thank you
Hello
I think my problem is in the upstream buffer will modify the codes
Thank you
Please tell me how to deal with the problem. I can not figure out how to transfer data from USB via variables.As a result, data is received as such, irrespective of the position of the variable resistor connected to the ADC input.
So at this point you know that the USB coomunication is working and that the PIC is sending something, just not the correct stuff? Can you send "Hello World" and have it show up in whatever application it is you're using on the PC?
I'm not sure the DIG operator returns the ASCII code for the digit. I'd try ArrayWrite Buffer, ["Adc", Ch, "=", DEC3 adval, 13,10,0]
/Henrik.
Thanks for the answer
more still send wrong data
the PC is receiving a yes "Adc1=[05][06][04]
[00]|[00]ÿÿ"
Adc2Buff:
ArrayWrite Buffer,["Adc","=",DEC3 adval,13,10,0]
return
Bookmarks