- changed title to micro:bit "disable Radio" does NOT disable
micro:bit "disable Radio" does NOT disable
is received on the 2nd micro:bit, even with the radio disabled on one side or both.
Comments (5)
-
reporter -
repo owner I’ll check but I think sending something automatically re-enables the radio. The main use of the “disable radio” block is to save power. Just having the radio listening consumes power and if you want to run for day son batteries you might want to turn the radio off for periods of time. That’s a pretty advanced use-case, of course.
-
reporter I was trying to further test the disable command, but unfortunately it disappeared from the menu of radio.ubl commands !
-
repo owner That block is in the radioPrims library since it is expected to be used rarely, if at all.
I checked the code. As I thought, that block powers down the radio but using any other radio block will power the radio back up. So it’s only real purpose would be to save batteries by only turning on the radio for a short period of time then off again. For example, if you wanted to monitor the outside temperature you might have a battery-powered micro:bit in a water-tight enclosure outside that sent the temperature to a micro:bit inside your house once an hour. By turning off the radio between readings, you could extend the battery life significantly.
-
repo owner - changed status to resolved
- Log in to comment