Fixes display and fonts (#85)
* change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis
This commit is contained in:
@@ -81,6 +81,13 @@ namespace pxsim.pins {
|
||||
pin.servoAngle = value;
|
||||
}
|
||||
|
||||
export function servoSetContinuous(pinId: number, value: boolean) {
|
||||
let pin = getPin(pinId);
|
||||
if (!pin) return;
|
||||
|
||||
pin.servoSetContinuous(value);
|
||||
}
|
||||
|
||||
export function servoSetPulse(pinId: number, micros: number) {
|
||||
let pin = getPin(pinId);
|
||||
if (!pin) return;
|
||||
|
||||
Reference in New Issue
Block a user