Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
668d814559 | ||
|
953bf27bc5 | ||
|
d4ee9d2d62 |
@@ -1,12 +0,0 @@
|
|||||||
name: Compress images
|
|
||||||
on: pull_request
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: calibreapp/image-actions
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@master
|
|
||||||
- name: calibreapp/image-actions
|
|
||||||
uses: calibreapp/image-actions@master
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
6
docs/static/testfilelogo.svg
vendored
6
docs/static/testfilelogo.svg
vendored
@@ -1,6 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" id="svg4487" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.4" clip-rule="evenodd" version="1.1" width="32" height="32" viewBox="0 0 32 32">
|
|
||||||
<path id="path4485" fill="#696969" d="M16.1 2.7a13.8 13.8 0 00-4.4 27c.7 0 1-.4 1-.7v-2.4c-3.9.9-4.7-1.8-4.7-1.8-.6-1.6-1.5-2-1.5-2-1.3-1 0-.9 0-.9 1.4.1 2.2 1.4 2.2 1.4 1.2 2.1 3.2 1.5 4 1.2a3 3 0 01.9-1.9c-3.1-.3-6.3-1.5-6.3-6.8 0-1.5.5-2.7 1.4-3.7a5 5 0 01.1-3.7s1.2-.3 3.8 1.4a13.2 13.2 0 013.5-.4c1.2 0 2.4.1 3.5.4 2.6-1.7 3.8-1.4 3.8-1.4a5 5 0 01.1 3.7c.9 1 1.4 2.2 1.4 3.7 0 5.3-3.2 6.5-6.3 6.8.5.5 1 1.3 1 2.6V29c0 .4.2.8.9.6a13.8 13.8 0 00-4.4-27"/>
|
|
||||||
<g id="text4497" fill="#000" fill-opacity="1" stroke="none" stroke-width=".7" aria-label="v" font-family="consolas" font-size="26.6" font-stretch="normal" font-style="normal" font-variant="normal" font-weight="400" letter-spacing="0" style="line-height:1.25;-inkscape-font-specification:consolas" transform="rotate(14.1)" word-spacing="0">
|
|
||||||
<path id="path4499" stroke-width=".7" d="M21.4-1.7l2.9 8 3-8.3.8-1.5q.4-.4 1-.4.8 0 1.2.5.5.4.5 1v.6l-.3.5-.2.7-3.4 8.4-.4 1-.5 1-.7.5q-.4.2-1 .2-.8 0-1.2-.3-.5-.3-.7-.8l-.7-1.6-3.4-8.3q0-.4-.2-.7l-.2-.6-.1-.6.2-.7.6-.6q.4-.2.9-.2.9 0 1.2.5l.7 1.7z" font-family="Arial Rounded MT Bold" font-stretch="normal" font-style="normal" font-variant="normal" font-weight="400" style="-inkscape-font-specification:'Arial Rounded MT Bold, '"/>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 1.4 KiB |
@@ -121,10 +121,9 @@ namespace sensors.internal {
|
|||||||
|
|
||||||
powerMM = control.mmap("/dev/lms_power", 2, 0)
|
powerMM = control.mmap("/dev/lms_power", 2, 0)
|
||||||
|
|
||||||
devPoller = new Poller(250, () => { return hashDevices(); },
|
devPoller = new Poller(500,
|
||||||
(prev, curr) => {
|
() => { return hashDevices(); },
|
||||||
detectDevices();
|
(prev, curr) => { detectDevices(); });
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getActiveSensors(): Sensor[] {
|
export function getActiveSensors(): Sensor[] {
|
||||||
@@ -431,11 +430,11 @@ void cUiUpdatePower(void)
|
|||||||
constructor(port: number) {
|
constructor(port: number) {
|
||||||
super(port)
|
super(port)
|
||||||
this.mode = 0
|
this.mode = 0
|
||||||
this.realmode = 0
|
this.realmode = -1
|
||||||
}
|
}
|
||||||
|
|
||||||
_activated() {
|
_activated() {
|
||||||
this.realmode = 0
|
this.realmode = -1
|
||||||
this._setMode(this.mode)
|
this._setMode(this.mode)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "pxt-ev3",
|
"name": "pxt-ev3",
|
||||||
"version": "1.4.15",
|
"version": "1.4.8",
|
||||||
"description": "LEGO MINDSTORMS EV3 for Microsoft MakeCode",
|
"description": "LEGO MINDSTORMS EV3 for Microsoft MakeCode",
|
||||||
"private": false,
|
"private": false,
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@@ -45,8 +45,8 @@
|
|||||||
"@types/web-bluetooth": "0.0.4"
|
"@types/web-bluetooth": "0.0.4"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"pxt-common-packages": "6.16.26",
|
"pxt-common-packages": "6.16.18",
|
||||||
"pxt-core": "5.30.5"
|
"pxt-core": "5.28.8"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "node node_modules/pxt-core/built/pxt.js travis"
|
"test": "node node_modules/pxt-core/built/pxt.js travis"
|
||||||
|
@@ -37,10 +37,7 @@
|
|||||||
"publishing": true,
|
"publishing": true,
|
||||||
"importing": true,
|
"importing": true,
|
||||||
"preferredPackages": [],
|
"preferredPackages": [],
|
||||||
"githubPackages": true,
|
"githubPackages": true
|
||||||
"cloudProviders": {
|
|
||||||
"github": {}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"compile": {
|
"compile": {
|
||||||
"isNative": true,
|
"isNative": true,
|
||||||
@@ -204,6 +201,5 @@
|
|||||||
"alwaysGithubItem": true,
|
"alwaysGithubItem": true,
|
||||||
"enableTrace": true
|
"enableTrace": true
|
||||||
},
|
},
|
||||||
"ignoreDocsErrors": true,
|
"ignoreDocsErrors": true
|
||||||
"uploadDocs": true
|
|
||||||
}
|
}
|
@@ -3,7 +3,6 @@
|
|||||||
namespace pxsim {
|
namespace pxsim {
|
||||||
|
|
||||||
export enum ColorSensorMode {
|
export enum ColorSensorMode {
|
||||||
None = -1,
|
|
||||||
Reflected = 0,
|
Reflected = 0,
|
||||||
Ambient = 1,
|
Ambient = 1,
|
||||||
Colors = 2,
|
Colors = 2,
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
namespace pxsim {
|
namespace pxsim {
|
||||||
export const enum GyroSensorMode {
|
export const enum GyroSensorMode {
|
||||||
None = -1,
|
|
||||||
Angle = 0,
|
Angle = 0,
|
||||||
Rate = 1,
|
Rate = 1,
|
||||||
}
|
}
|
||||||
|
@@ -44,7 +44,6 @@ namespace pxsim {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export enum InfraredSensorMode {
|
export enum InfraredSensorMode {
|
||||||
None = -1,
|
|
||||||
Proximity = 0,
|
Proximity = 0,
|
||||||
Seek = 1,
|
Seek = 1,
|
||||||
RemoteControl = 2
|
RemoteControl = 2
|
||||||
|
Reference in New Issue
Block a user