Skip to content

Commit

Permalink
Update/servos (#102)
Browse files Browse the repository at this point in the history
* led shield

* push led chagnes

* update servo pins

* update

* more servo updates
  • Loading branch information
Joe Bakalor authored May 25, 2021
1 parent 60e3b8b commit 9b22a1f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion libs/core---nrf52/shims.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,6 @@ declare namespace led {
//% block="show leds" icon="\uf00a"
//% parts="ledmatrix" interval.defl=400 shim=basic::showLeds
function showLeds(leds: string, interval?: int32): void;

}

// Auto-generated. Do not edit. Really.
4 changes: 2 additions & 2 deletions libs/servo/targetoverrides.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace servos {
//% block="servo SERVO_LEFT" fixedInstance
//% block="servo A1" fixedInstance
export const A1 = new servos.PinServo(pins.SERVO_LEFT);
//% block="servo SERVO_RIGHT" fixedInstance
//% block="servo A2" fixedInstance
export const A2 = new servos.PinServo(pins.SERVO_RIGHT);
}
4 changes: 2 additions & 2 deletions libs/teknikio-bluebird/device.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ declare namespace pins {
//% fixedInstance shim=pxt::getPin(PIN_A6)
const A6: PwmPin;
//% fixedInstance shim=pxt::getPin(PIN_D16)
const SERVO_LEFT: PwmPin;
const SERVO_LEFT: PwmOnlyPin;
//% fixedInstance shim=pxt::getPin(PIN_D17)
const SERVO_RIGHT: PwmPin;
const SERVO_RIGHT: PwmOnlyPin;

//% fixedInstance shim=pxt::getPin(PIN_D7)
const D7: DigitalInOutPin;
Expand Down

0 comments on commit 9b22a1f

Please sign in to comment.