missing package annotation

This commit is contained in:
Peli de Halleux 2017-01-06 07:19:00 -08:00
parent 3f66a1c16d
commit 0a69b773de

View File

@ -16,10 +16,10 @@ at a certain pace. In the code below, the user pressed button ``A`` to launch th
```blocks
input.onButtonPressed(Button.A, () => {
pins.servoWritePin(AnalogPin.P0, 0)
basic.pause(500)
pins.servoWritePin(AnalogPin.P0, 180)
basic.pause(500)
pins.servoWritePin(AnalogPin.P0, 0);
basic.pause(500);
pins.servoWritePin(AnalogPin.P0, 180);
basic.pause(500);
});
```
@ -45,4 +45,8 @@ radio.onDataPacketReceived(({receivedNumber}) => {
input.onButtonPressed(Button.A, () => {
radio.sendNumber(0)
})
```
```package
radio
```