If I learned one thing from this project, it would be persistency. I was challenged with both minor issues and major roadblocks. For example, many of the questions I had about the code could be resolved by looking on Adafruit's or Arduino's help forums. I realized that I didn't have a good grasp of what each line of the code did, which became a problem when I wanted to start editing it. In the process, I learned new coding terms like string, concatenating, bool, buffer, char, and float, and discovered the difference between the void configureSensor, void getEvent, void getSensor, and displaySensorDetails. In future projects, I will feel more comfortable seeing these terms when working in Arduino.
A major problem became apparent in the side-by-side comparison of my code against Maxine's. She had commented out the line while (!Serial) but next to it, there was a comment that read Required for Flora and Micro. Since I was using a Flora, I decided to avoid future complications, I would switch the microcontroller I was using so that I could comment out that line and continue to mimic Maxine's code. After doing a little bit of research, I selected the newest version of the Adafruit Bluefruit Feather (nRF52832), a modified version of the Feather Maxine used (Adafruit Bluefruit LE nRF51). Unfortunately, nRF51 sketches won't run off nRF52 hardware (I read this only after I had bought the Adafruit Bluefruit nRF52 Feather and had been trying to upload my original code, which used nRF51 example codes).
The error message saying there was an error compiling for the Adafruit Bluefruit nRF52 board still remains unresolved, but Mr. Dubick was finally able to arrange for Mr. Proffitt, with whom I had worked before, to come in. Mr. Proffitt worked with me during an entire class, and we tried to fix some of the errors that Arduino was giving us. Based on the problems we kept having (errors with certain libraries), I have concluded that the problem lies within the disconnect between the nRF52 and the nRF51. Although we didn't get it to work, Mr. Proffitt left me with several nuggets of advice:
The one other troubleshooting option I could try is updating the bootloader. I have held off on messing with the bootloader because it seems like a hassle to do, but I'm wondering if it's imperative for the board that I have. The Adafruit Learning Guide indicates that updating the bootloader is necessary for original nRF52832 based Bluefruit nRF52 feather boards.
In conclusion, I feel like I've completed a big loop and have ended up where I started. Basically, Mr. Proffitt informed me that I need to start from square one and build upon a foundation for the nRF52832. The frustration and disappointment are real. However, if I were to continue this project, I definitely would start with a better understanding of the coding language and could use all that I learned from this semester. After taking a break from this project, I hope to return to the code and achieve a final product.