Skip to content

Commit 6db2806

Browse files
committed
Update api.json
1 parent 30f4e44 commit 6db2806

1 file changed

Lines changed: 13 additions & 9 deletions

File tree

scripts/json-files/api.json

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -94385,19 +94385,19 @@
9438594385
"number": 3
9438694386
},
9438794387
"ADC_PIN_4": {
94388-
"description": "Analog Input Channel 4",
94388+
"description": "Analog Input Channel 4 (only available for ADS7830)",
9438994389
"number": 4
9439094390
},
9439194391
"ADC_PIN_5": {
94392-
"description": "Analog Input Channel 5",
94392+
"description": "Analog Input Channel 5 (only available for ADS7830)",
9439394393
"number": 5
9439494394
},
9439594395
"ADC_PIN_6": {
94396-
"description": "Analog Input Channel 6",
94396+
"description": "Analog Input Channel 6 (only available for ADS7830)",
9439794397
"number": 6
9439894398
},
9439994399
"ADC_PIN_7": {
94400-
"description": "Analog Input Channel 7",
94400+
"description": "Analog Input Channel 7 (only available for ADS7830)",
9440194401
"number": 7
9440294402
}
9440394403
},
@@ -94412,24 +94412,28 @@
9441294412
}
9441394413
},
9441494414
{
94415-
"signature": "enum adc_type {ADS7830 = 0,// PCF8591 = 1,};",
94415+
"signature": "enum adc_type {ADS7830 = 0,PCF8591 = 1,};",
9441694416
"name": "adc_type",
9441794417
"description": "ADC Type:",
9441894418
"brief": null,
9441994419
"constants": {
9442094420
"ADS7830": {
9442194421
"description": "8-Bit, 8-Channel Sampling A/D Converter with I2C Interface",
9442294422
"number": 0
94423+
},
94424+
"PCF8591": {
94425+
"description": "8-Bit, 4-Channel Sampling A/D Converter with I2C Interface",
94426+
"number": 1
9442394427
}
9442494428
},
9442594429
"attributes": {
9442694430
"group": "types"
9442794431
},
9442894432
"signatures": {
94429-
"python": "public enum {AdcType.ads7830 = 0}",
94430-
"cpp": "class adc_type {ADS7830 = 0};",
94431-
"csharp": "public enum {AdcType.Ads7830 = 0}",
94432-
"pascal": "public enum {AdcType.Ads7830 = 0}"
94433+
"python": "public enum {AdcType.ads7830 = 0, AdcType.pcf8591 = 1}",
94434+
"cpp": "class adc_type {ADS7830 = 0, PCF8591 = 1};",
94435+
"csharp": "public enum {AdcType.Ads7830 = 0, AdcType.Pcf8591 = 1}",
94436+
"pascal": "public enum {AdcType.Ads7830 = 0, AdcType.Pcf8591 = 1}"
9443394437
}
9443494438
},
9443594439
{

0 commit comments

Comments
 (0)