joeschmoe
Newbie level 3
Comparing data both sent through uart from PC to pic16f877a
Hi guys i'm pretty new to using UART and i was wondering how i could compare and differentiate two separate pieces of data. Basically this is the set up:
I have a load cell that is connected to a max232 circuit. When pressure is applied, the values are sent to a laptop via max232 circuit (rs232 to usb). Then torque is computed. This is to be compared to a desired torque, input by the user at the pc. Both of these data are then sent to a PIC16F877A using UART(max232 usb to rs 232). I just need to be able to differentiate the two values of Torque in a MikroC program. I hope you guys can help. Thanks a lot!
Hi guys i'm pretty new to using UART and i was wondering how i could compare and differentiate two separate pieces of data. Basically this is the set up:
I have a load cell that is connected to a max232 circuit. When pressure is applied, the values are sent to a laptop via max232 circuit (rs232 to usb). Then torque is computed. This is to be compared to a desired torque, input by the user at the pc. Both of these data are then sent to a PIC16F877A using UART(max232 usb to rs 232). I just need to be able to differentiate the two values of Torque in a MikroC program. I hope you guys can help. Thanks a lot!
Last edited: