heethesh / Autonomous-Indoor-Navigation-using-Image-Processing

Autonomous Indoor Navigation using Image Processing (Caretaker Robot) - eYRC+ 2014 Theme
GNU General Public License v2.0
1 stars 1 forks source link

Which type of data does the UART0 receive? #2

Closed gkarun876 closed 3 years ago

gkarun876 commented 3 years ago

@heethesh Sir, in firebird 5 code, whichtype of data does the UART0 receive? either ASCII or hex type. Because in some part of code, for checking condition, hex value is equalled and in some areas of code, ASCII value is equalled. For eg: for buzzer , (if data==hex value) and for motion (if data == ascii)?

heethesh commented 3 years ago

Serial bytes (8-bit commands). I don't think I've used ASCII representation anywhere, I just used the 8-bit set of commands (which are listed here). The if-checks just switch between the decimal and hex representations, they're the same and shouldn't matter.

gkarun876 commented 3 years ago

Thank you