Compare commits

...

6 Commits

Author SHA1 Message Date
Peli de Halleux
6d6c053e4f 0.3.53 2016-08-29 23:25:12 -07:00
Peli de Halleux
1008fdd371 Bump pxt-core to 0.3.60 2016-08-29 23:25:11 -07:00
Peli de Halleux
ddc2b7437b re-ordering of blocks in docs 2016-08-29 14:49:51 -07:00
Peli de Halleux
b9c95ebb1e 0.3.52 2016-08-29 13:26:01 -07:00
Peli de Halleux
b16d02ec66 Bump pxt-core to 0.3.59 2016-08-29 13:25:58 -07:00
Peli de Halleux
38fb36087a fixing local deployment (pxtc import issue) 2016-08-26 17:51:15 -07:00
3 changed files with 6 additions and 6 deletions

View File

@@ -9,16 +9,16 @@ let execAsync: (cmd: string, options?: { cwd?: string }) => Promise<Buffer> = Pr
let readDirAsync = Promise.promisify(fs.readdir) let readDirAsync = Promise.promisify(fs.readdir)
export function deployCoreAsync(res: pxtc.CompileResult) { export function deployCoreAsync(res: ts.pxtc.CompileResult) {
return getBitDrivesAsync() return getBitDrivesAsync()
.then(drives => { .then(drives => {
if (drives.length == 0) { if (drives.length == 0) {
console.log("cannot find any drives to deploy to") console.log("cannot find any drives to deploy to")
} else { } else {
console.log(`copy ${pxtc.BINARY_HEX} to ` + drives.join(", ")) console.log(`copy ${ts.pxtc.BINARY_HEX} to ` + drives.join(", "))
} }
return Promise.map(drives, d => return Promise.map(drives, d =>
writeFileAsync(d + pxtc.BINARY_HEX, res.outfiles[pxtc.BINARY_HEX]) writeFileAsync(d + ts.pxtc.BINARY_HEX, res.outfiles[ts.pxtc.BINARY_HEX])
.then(() => { .then(() => {
console.log("wrote hex file to " + d) console.log("wrote hex file to " + d)
})) }))

View File

@@ -6,6 +6,7 @@ Control of the LED screen.
led.plot(0, 0); led.plot(0, 0);
led.unplot(0, 0); led.unplot(0, 0);
led.point(0, 0); led.point(0, 0);
led.toggle(0, 0);
led.brightness(); led.brightness();
led.setBrightness(255); led.setBrightness(255);
led.stopAnimation(); led.stopAnimation();
@@ -14,7 +15,6 @@ led.fadeIn();
led.fadeOut(); led.fadeOut();
led.plotAll(); led.plotAll();
led.screenshot(); led.screenshot();
led.toggle(0, 0);
led.toggleAll(); led.toggleAll();
led.setDisplayMode(DisplayMode.BackAndWhite); led.setDisplayMode(DisplayMode.BackAndWhite);
``` ```

View File

@@ -1,6 +1,6 @@
{ {
"name": "pxt-microbit", "name": "pxt-microbit",
"version": "0.3.51", "version": "0.3.53",
"description": "micro:bit target for PXT", "description": "micro:bit target for PXT",
"keywords": [ "keywords": [
"JavaScript", "JavaScript",
@@ -29,6 +29,6 @@
"typescript": "^1.8.7" "typescript": "^1.8.7"
}, },
"dependencies": { "dependencies": {
"pxt-core": "0.3.56" "pxt-core": "0.3.60"
} }
} }