Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

SPI Friend turn off blue led
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

SPI Friend turn off blue led

by online1234 on Sat Feb 15, 2020 10:37 pm

Hi there,

I'm trying to build a bluetooth keyboard, and I want to save as much battery as possible.

I managed to turn off the red blinky led via AT command, but I can't the command line to turn of the blue led.
I've tried AT+HWGPIOMODE on pin 19, but didn't work.

Any pointers please?

online1234
 
Posts: 2
Joined: Sat Feb 15, 2020 10:31 pm

Re: SPI Friend turn off blue led

by ChliHug on Sun Feb 16, 2020 5:05 pm

That LED also has an AT command: AT+HWCONNLED. I'm not sure if this was always in the firmware. I tested it on 8.1.

AT+HWCONNLED=0 turns the LED off.

Some commands are undocumented, but AT+HELP will list them. Sometimes the names explain what it does and sometimes you have to dig in the adafruit library to find out how to use it.

ChliHug
 
Posts: 23
Joined: Sun Feb 16, 2020 4:54 pm

Re: SPI Friend turn off blue led

by online1234 on Sun Feb 16, 2020 6:30 pm

ChliHug wrote:That LED also has an AT command: AT+HWCONNLED. I'm not sure if this was always in the firmware. I tested it on 8.1.

AT+HWCONNLED=0 turns the LED off.

Some commands are undocumented, but AT+HELP will list them. Sometimes the names explain what it does and sometimes you have to dig in the adafruit library to find out how to use it.

Nice. it works. Thank you so much!

online1234
 
Posts: 2
Joined: Sat Feb 15, 2020 10:31 pm

Please be positive and constructive with your questions and comments.