added blockSetVariable=4digit
This commit is contained in:
parent
7999b286ed
commit
aa967ae9ed
1
main.ts
1
main.ts
@ -529,6 +529,7 @@ namespace grove {
|
|||||||
//% dataPin.fieldEditor="gridpicker" dataPin.fieldOptions.columns=4
|
//% dataPin.fieldEditor="gridpicker" dataPin.fieldOptions.columns=4
|
||||||
//% clkPin.defl=DigitalPin.C16 dataPin.defl=DigitalPin.C17
|
//% clkPin.defl=DigitalPin.C16 dataPin.defl=DigitalPin.C17
|
||||||
//% dataPin.fieldOptions.tooltips="false" dataPin.fieldOptions.width="250"
|
//% dataPin.fieldOptions.tooltips="false" dataPin.fieldOptions.width="250"
|
||||||
|
//% blockSetVariable=4digit
|
||||||
export function createDisplay(clkPin: DigitalPin, dataPin: DigitalPin): TM1637
|
export function createDisplay(clkPin: DigitalPin, dataPin: DigitalPin): TM1637
|
||||||
{
|
{
|
||||||
let display = new TM1637();
|
let display = new TM1637();
|
||||||
|
Loading…
Reference in New Issue
Block a user