Week 12: Interface and application programming

This week I worked on coding an application that interfaces with the input/output device I made for my final project.

The PCB I made detects motion with an ultrasonic motion sensor, and then illuminates an LED when motion is detected.
My goal is to figure out how to send a message to my phone when this motion sensor is activated, but I have not yet been able to.
I think if I can add a BLE to my board I can start t o figure it out.

The screenshots below are captures of my coding struggles as I tried to get the NeoPixels to talk to the motion sensor.