pxt-calliope icon indicating copy to clipboard operation
pxt-calliope copied to clipboard

Add Documentation for new Blocks

Open Amerlander opened this issue 2 years ago • 0 comments

There are some new Blocks which need documentation:

New/Undocumented Blocks

Storage

  • [ ] storage.putNumber() new
  • [ ] storage.removeNumber() new
  • [ ] storage.getNumber() new

Basic

  • [ ] basic.setLedColor() new
  • [ ] basic.turnRgbLedOff() new
  • [ ] basic.rgb(255, 255, 255) new
  • [ ] basic.showCompass() new

Input

  • [x] input.onPinTouchEvent renamed
  • [x] input.onButtonEvent renamed
  • [x] input.soundLevel() renamed
  • [x] input.buttonEvent new

Music

  • [x] music.playMelody()
  • [x] music.stopAllSounds()

Loops

  • [x] loops.everyInterval({})

Math

  • [ ] "int" Block
  • [x] Math.randomBoolean()

Motors

  • [ ] motors.motorPower(100) new
  • [ ] motors.motorCommand(MotorCommand.Coast) new
  • [ ] motors.dualMotorPower(Motor.A, 100) new

Game

  • [x] game.resume()

Serial

  • [ ] serial.setWriteLinePadding(0)
  • [ ] serial.setBaudRate(BaudRate.BaudRate115200)

Amerlander avatar Mar 24 '22 10:03 Amerlander