computer-lov / Nighttime-Parenting-Device

This is a senior design project.
MIT License
0 stars 0 forks source link

Implement application logic for tasks that run at startup #80

Closed computer-lov closed 2 years ago

computer-lov commented 2 years ago

Tasks that run at startup:

Audio Level Detection Task (runs until it detects audio above a certain threshold) Create Stereo Decoder object Create OLED screen object (establish i2c connection) Create LED Bar object Create Heart Rate Sensor Object Create Physical UI object (establish serial comm. for volume dial's ADC)

computer-lov commented 2 years ago

Moved to review

computer-lov commented 2 years ago
if __name__ == "__main__":
    # create objects
    m = infra.micCircuit()
    sd = infra.StereoDecoder()
    oled = infra.OLED()
    lBar = infra.ledBar()
    hrs = infra.HRSensor()
    phyUI = infra.PhysicalUI(sd, oled, lBar)