JeremiahRose
Member
Hi there,
I'm using a Teensy 4.1 connected to an MCP3008 via SPI where pin 13 is the SCK.
I'm using the Adafruit_MCP3008.h library to interface with the ADC, however I'm getting a weird problem on some of my boards but not others: when I start the SPI with adc.begin(), the LED attached to pin 13 on my Teensy will light up. This is occurring on 3 out of 5 of my boards. The ADC seems to be functioning just fine and I am getting readings with adc.readADC(). However I don't want the LED to light up because it will drain the battery.
If I reflash with Blink firmware then the LED flashes normally.
Does anyone have any idea what might be causing this?
Thanks.
I'm using a Teensy 4.1 connected to an MCP3008 via SPI where pin 13 is the SCK.
I'm using the Adafruit_MCP3008.h library to interface with the ADC, however I'm getting a weird problem on some of my boards but not others: when I start the SPI with adc.begin(), the LED attached to pin 13 on my Teensy will light up. This is occurring on 3 out of 5 of my boards. The ADC seems to be functioning just fine and I am getting readings with adc.readADC(). However I don't want the LED to light up because it will drain the battery.
If I reflash with Blink firmware then the LED flashes normally.
Does anyone have any idea what might be causing this?
Thanks.