Added ReceiveBone2 and revised SendBone. Tweaked some internal code in LCDinput section, it's currently uncommented. Implemented a vector funtionality in myVector.h. Got the header from the internet machine.
Fixed some things in uart on master, needs to be changed.
Worked on main, uart and eeprom. Going to try new heartRate detection and fix NAN error. Added user interaction capabilities
Tested myVector class, works as long as correct libraries are given. Moved all test scripts into a folder.
Start of method two. Tried DFT, but going to be a pain in the butt. Going for more basic solution
Small changes
Got method working, need to add bump case
Lots of work. Added a few cases for SendBone() and ReceiveeBone(). Changed functionality to accept UART2 from BeagleBone.
Fixed NAN scenario in GAVR, had an issue ith EEPROM. See eepromSaveRead.h in the gavr folder. Added functionality to TEST so that communication protocols aren't sparked by startup timeouts. Added dualality of microcontrollers in the WAVR scripts so that if we are programming the backup board we can uncomment a define and registers are changed. Added functionality in the WAVR to 1)See if the Bone and/or GAVR are on when they are supposed to be and 2) If they aren't on, try and reboot them using several means.
Should have fixed issue with average speed
Finished all prototype work for GAVR and WAVR. Something is wrong with the ReceiveBone2 protocol. Loops in state 1 continuously, never receives anything. Might be a bracket error or overflow/no break.
Functions that don't work for comm ith beagle/haven't been tested are view usb, offload usb, and delete usb. Delete usb works, just don't know what you're deleteing. Offload usb will also work. Issue with view usb is in a malloc statement for the vctor, getting invalid pointeres.
Tweaked receivebone and receive bone2 and sendbone to offload trips correctly. Offloading works now. Only things left to resolve is display usb trips, need file structure to hold string in heap memory so they can be viewed elsewhere. Need to test USB trip delete function, kinda depends on view but we can confirm it works without it.
Finished all protocols between GAVR and beagleBone. All functions work. See comments in code for more details/headers. About 30 hours or total testing to accomplish all functaionlity
Small change to HR sensing fncationality. Now waits for mod7 of currentSeconds to initiate sensing, then timer is enabled and collects samples until the 300 has been done. At that point timer is killed. Need to change miniimum value for speed interrupts, also need to double check that currentTime.getSeconds() was used, not .getTime()
HR is fairly stable. Needs minor tweaking, however it is functional and once it finds a hr it is pretty close.
Funcational testing code. Now has working heart rate monitor, dynamic switching. See header in heartMonitor.h. Need to add comments to the code to make it sensible. All receive functions still work. One thing to try is how quickly different characters are sent to the beaglebone.