microcode icon indicating copy to clipboard operation
microcode copied to clipboard

more radio functionality

Open ramseyball opened this issue 2 years ago • 5 comments

  • set power of radio
  • send a 5x5 image

ramseyball avatar Oct 28 '23 22:10 ramseyball

can we have a tile that gets interleaved in the sequence of images with the draw face action?

pelikhan avatar Oct 29 '23 18:10 pelikhan

For proximity, we could map the RSSI to a 1-5 value, based on a fixed radio power.

pelikhan avatar Oct 29 '23 18:10 pelikhan

That's possible - we already have a tile to refer to the radio value in the DO section. The confusing part might be that the radio value and be a number or an image, but we can use the thing in a variety of different contexts (number in an image context, image in a number context), which could be confusing.

Instead, we can have a radio event for receiving an image (rather than a number), just like on the MakeCode side. Then the radio value can only be used in an image context. More tiles, more work...

tballmsft avatar Oct 30 '23 18:10 tballmsft

Right we need to be careful about not making things too complicated here. If you have image through radio, you could also have sounds or melodies. Gets messy. I like the brutally simple approach we have now.

pelikhan avatar Oct 30 '23 18:10 pelikhan

indeed.

tballmsft avatar Oct 30 '23 18:10 tballmsft