Closed computer-lov closed 2 years ago
Moved to review
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)
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)