Hello, i am having an issue with my code it will not run if a partial packet is sent if you could take a look at it i used some of the Bluetooth functions and left some comments. I plan on using a checksum but i am stuck on what i need to use for the checksum and how to do it. If you could take a look i am sending a string through Bluetooth to control a series of servos from lab-view. I cannot figure out how i can get this to work. also the Bluetooth module will not stay connected to the computer long term. I may change to wifi but have no idea with arduous nano if i need a WiFi sheild or not to program with either labveiw and or arduino. I am automating a piece of scaled mining equipment for a research project and i am stuck bad on this.
registerEngineFunctions.ino (1.94 KB)
registerEngineHC05PWM-wChksum.ino (3.98 KB)
servoFunctions.ino (495 Bytes)