Skip to content

Commit

Permalink
updated device support to LED Basic v15.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Gamadril committed Dec 18, 2018
1 parent fdf034d commit d96ebea
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# LED Basic extension changelog

## 1.2.1 - 18.12.2018
- updated device support to LED Basic v15.2.2

## 1.2.0 - 23.11.2018
- updated list of components and commands to match LED Basic v15.2.1

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This extension adds LED Basic support for Visual Studio Code.
![](gh/upload.gif)

## Features
- LED Basic V15.1.15 support
- LED Basic v15.2.2 support
- Basic syntax highlighting
- Code snippets: `for/ford`, `if/ifelse`
- Smart bracket support
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "led-basic",
"displayName": "LED Basic",
"description": "LED Basic language support for Visual Studio Code",
"version": "1.2.0",
"version": "1.2.1",
"publisher": "Gamadril",
"license": "MIT",
"engines": {
Expand Down
10 changes: 9 additions & 1 deletion src/DeviceSelector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const CMD_IO_KEY = [dev('waitkey'), dev('getkey'), dev('keystate')];
const CMD_IO_RTC = [dev('getrtc', 1), dev('setrtc', 2)];
const CMD_IO_LDR = [dev('getldr')];
const CMD_IO_IR = [dev('getir')];
const CMD_IO_PORT_CLR = [dev('setport', 1), dev('clrport', 1)];
const CMD_IO_PORT_CLR = [dev('clrport', 1)];
const CMD_IO_PORT = CMD_IO_PORT_CLR.concat([dev('setport', 1)]);
const CMD_IO_POTI = [dev('getpoti', 1)];
const CMD_IO_ADC = [dev('getadc', 1)];
Expand Down Expand Up @@ -185,6 +185,14 @@ const DEVICES: Device[] = [
meta: {
sysCode: 0x3320
}
},
{
label: 'LED-BASIC-PICO',
detail: 'Tiny breadboard friendly base module',
commands: CMD_LED_PWM.concat(CMD_LED_SEG).concat(CMD_IO_KEY).concat(CMD_IO_PORT).concat(CMD_IO_ADC).concat(CMD_IO_IR).concat(CMD_IO_ENC).concat(CMD_IO_TEMP).concat(CMD_IO_SOUND).concat(CMD_IO_EEP).concat(CMD_IO_RTC).concat(CMD_IO_SYS),
meta: {
sysCode: 0x3210
}
}
];

Expand Down
2 changes: 1 addition & 1 deletion src/LEDBasicAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ export const API: ILibEntries = {
},
'araw': {
signature: "LED.araw(raw1, raw2, raw3, raw4)",
description: "Outputs all 4 characters at the same time. Values of all 4 characters must be specified.",
description: "Outputs all 4 characters at the same time in raw mode. Values of all 4 characters must be specified.",
parameters: [raw1, raw2, raw3, raw4]
},
'adp': {
Expand Down

0 comments on commit d96ebea

Please sign in to comment.