Hey guys,
I have been looking through the SSC-32 firmware source code again to try and figure out how does jim get away with doing regex without actually using regex And im stuck!! There is a massive amount of code and its all around the place and I can’t keep track of stuff
Does anyone here understand the SSC-32 code?
Reason I am asking is I will need a similar serial system where I can send characters to my PIC and it will execute different functions based on it. I could do the long if/ifelse/else statement but that would be a pain in the ■■■■ and using a large array seems quicker.
So far I understand that there is some sort of “rx_queue” and an array with all the commands and function that gets executed. What I don’t understand is where/how does the SSC-32 listen to the serial port to get incoming strings and parses them. And also where does the correct function get executed.
Thanks,
-robodude666