File tree Expand file tree Collapse file tree 2 files changed +16
-12
lines changed
Expand file tree Collapse file tree 2 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -30,14 +30,16 @@ declare module "embedded:io/digital" {
3030 | typeof Digital . InputPullUpDown
3131 | typeof Digital . Output
3232 | typeof Digital . OutputOpenDrain
33+ | typeof Digital . ActiveLow
3334
3435 class Digital {
35- static readonly Input : unknown
36- static readonly InputPullUp : unknown
37- static readonly InputPullDown : unknown
38- static readonly InputPullUpDown : unknown
39- static readonly Output : unknown
40- static readonly OutputOpenDrain : unknown
36+ static readonly Input : number
37+ static readonly InputPullUp : number
38+ static readonly InputPullDown : number
39+ static readonly InputPullUpDown : number
40+ static readonly Output : number
41+ static readonly OutputOpenDrain : number
42+ static readonly ActiveLow : number
4143 static readonly Rising : Edge ;
4244 static readonly Falling : Edge ;
4345
Original file line number Diff line number Diff line change @@ -26,14 +26,16 @@ declare module "embedded:io/digitalbank" {
2626 | typeof DigitalBank . InputPullUpDown
2727 | typeof DigitalBank . Output
2828 | typeof DigitalBank . OutputOpenDrain
29+ | typeof DigitalBank . ActiveLow
2930
3031 class DigitalBank {
31- static readonly Input : unknown
32- static readonly InputPullUp : unknown
33- static readonly InputPullDown : unknown
34- static readonly InputPullUpDown : unknown
35- static readonly Output : unknown
36- static readonly OutputOpenDrain : unknown
32+ static readonly Input : number
33+ static readonly InputPullUp : number
34+ static readonly InputPullDown : number
35+ static readonly InputPullUpDown : number
36+ static readonly Output : number
37+ static readonly OutputOpenDrain : number
38+ static readonly ActiveLow : number
3739
3840 constructor ( dictionary : {
3941 pins : number ;
You can’t perform that action at this time.
0 commit comments