We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55eec52 commit 3700b2aCopy full SHA for 3700b2a
1 file changed
main.ts
@@ -72,6 +72,8 @@ namespace I2C_LCD1602 {
72
*/
73
//% blockId="I2C_LCD1620_SHOW_NUMBER" block="show number %n|at x %x|y %y"
74
//% weight=90 blockGap=8
75
+ //% x.min=0 x.max=15
76
+ //% y.min=0 y.max=1
77
export function ShowNumber(n: number, x: number, y: number): void {
78
let s = n.toString()
79
ShowString(s, x, y)
@@ -85,6 +87,8 @@ namespace I2C_LCD1602 {
85
87
86
88
//% blockId="I2C_LCD1620_SHOW_STRING" block="show string %s|at x %x|y %y"
89
90
91
92
export function ShowString(s: string, x: number, y: number): void {
93
let a: number
94
0 commit comments