You can download it from the above link.
]]>Sorry, I don’t have ready example code now.
A simple solution would be as below.
Consider the size of the float variable is 4 bytes..
you can copy it to a 4 byte character array using memcpy().
Then you can send it easily send it via UART..
In the receiver side you can do the same memcpy() to copy back to float variable from the array.
If you are looking for a professional support you can mail [email protected].
]]>can u please share an example code??
]]>If you are planning to use a serial port (UART) of a PIC microcontroller.. you would need a USB to UART converter in the middle..
]]>Thank you for the reply. The machine with the USB port is designed to be controlled by and hooked directly to a PC. I want to not use the PC any longer. I want to control the machine from a PIC. My question was asking if I needed any kind of signal level conversion or will the TTL from the PIC be able to directly connect to the machines USB Port?
]]>I don’t understand the term “USB port to receive ASCII commands”. If your machine accepts TTL serial communication (9600 8N1), you can use the UART, just need to program the microcontroller appropriately. If you are looking for professional support you can mail [email protected].
]]>