The module WiringPiMBS
Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics,
classes,
interfaces,
controls,
modules,
global methods by category,
global methods by name,
screenshots,
licenses
and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
The module WiringPiMBS Deprecated
module WiringPiMBS
This item is deprecated and should no longer be used.
The module to work with wiring pi library.
Deprecated as underlaying C library is deprecated.
- method analogRead(pin as Integer) as Integer
- method analogWrite(pin as Integer, value as Integer)
- method delay(HowLong as UInt32)
- method delayMicroseconds(HowLong as UInt32)
- method digitalRead(pin as Integer) as Integer
- method digitalWrite(pin as Integer, value as Integer)
- method digitalWriteByte(value as Integer)
- method gpioClockSet(pin as Integer, value as Integer)
- method I2CRead(fd as Integer) as Integer
- method I2CReadReg16(fd as Integer, reg as Integer) as Integer
- method I2CReadReg8(fd as Integer, reg as Integer) as Integer
- method I2CSetup(devId as Integer) as Integer
- method I2CSetupInterface(device as string, devId as Integer) as Integer
- method I2CWrite(fd as Integer, Data as Integer) as Integer
- method I2CWriteReg16(fd as Integer, reg as Integer, Data as Integer) as Integer
- method I2CWriteReg8(fd as Integer, reg as Integer, Data as Integer) as Integer
- method LoadLibrary(File as FolderItem) as boolean
- method LoadLibrary(Path as string) as boolean
- method micros as UInt32
- method millis as UInt32
- method physPinToGpio(physPin as Integer) as Integer
- method piBoardId(byref model as Integer, byref Rev as Integer, byref Mem as Integer, byref Maker as Integer, byref OverVolted as Integer)
- method piBoardRev as Integer
- method piHiPri(pri as Integer) as Integer
- method piLock(Key as Integer)
- method piMakerNames(index as Integer) as string
- method piModelNames(index as Integer) as string
- method pinMode(pin as Integer, mode as Integer)
- method piRevisionNames(index as Integer) as string
- method piUnlock(Key as Integer)
- method pullUpDnControl(pin as Integer, pud as Integer)
- method pwmSetClock(divisor as Integer)
- method pwmSetMode(mode as Integer)
- method pwmSetRange(range as UInt32)
- method pwmToneWrite(pin as Integer, value as Integer)
- method pwmWrite(pin as Integer, value as Integer)
- method Read(fd as Integer, count as UInt64) as Memoryblock
- method serialClose(fd as Integer)
- method serialDataAvail(fd as Integer) as Integer
- method serialFlush(fd as Integer)
- method serialGetchar(fd as Integer) as Integer
- method serialOpen(device as String, Baud as Integer) as Integer
- method serialPutchar(fd as Integer, c as Integer)
- method serialPutData(fd as Integer, data as Memoryblock)
- method serialPuts(fd as Integer, text as string)
- method setPadDrive(group as Integer, value as Integer)
- method SPIDataRW(channel as Integer, data as Memoryblock) as Integer
- method SPIGetFd(channel as Integer) as Integer
- method SPISetup(channel as Integer, speed as Integer) as Integer
- method SPISetupMode(channel as Integer, speed as Integer, mode as Integer) as Integer
- method wiringPiSetup as Integer
- method wiringPiSetupGpio as Integer
- method wiringPiSetupPhys as Integer
- method wiringPiSetupSys as Integer
- method wpiPinToGpio(wpiPin as Integer) as Integer
- method Write(fd as Integer, data as Memoryblock) as Integer
- property ErrNo as Integer
- property LoadError as String
- 35 constants
Constants
Constant |
Value |
Description |
kHIGH
|
1 |
The constant for high value.
|
kLOW
|
0 |
The constant for low value.
|
Pin Modes
Constant |
Value |
Description |
kGPIO_CLOCK
|
3 |
GPIO Clock
|
kINPUT
|
0 |
Input
|
kOUTPUT
|
1 |
Output
|
kPWM_OUTPUT
|
2 |
PWM Output
|
kPWM_TONE_OUTPUT
|
6 |
Tone Output
|
kSOFT_PWM_OUTPUT
|
4 |
PWM Output
|
kSOFT_TONE_OUTPUT
|
5 |
Tone Output
|
Interrupt Levels
Constant |
Value |
Description |
kINT_EDGE_BOTH
|
3 |
Both
|
kINT_EDGE_FALLING
|
1 |
Failing
|
kINT_EDGE_RISING
|
2 |
Rising
|
kINT_EDGE_SETUP
|
0 |
Setup
|
Makers
Constant |
Value |
Description |
kPI_MAKER_EGOMAN
|
1 |
Egoman
|
kPI_MAKER_MBEST
|
4 |
MBest
|
kPI_MAKER_QISDA
|
3 |
QISDA
|
kPI_MAKER_SONY
|
2 |
Sony
|
kPI_MAKER_UNKNOWN
|
0 |
Unknown
|
Models
Constant |
Value |
Description |
kPI_MODEL_2
|
6 |
Model 2
|
kPI_MODEL_A
|
1 |
Model A
|
kPI_MODEL_AP
|
5 |
Model AP
|
kPI_MODEL_B
|
2 |
Model B
|
kPI_MODEL_BP
|
3 |
Model BP
|
kPI_MODEL_CM
|
4 |
Model CM
|
kPI_MODEL_UNKNOWN
|
0 |
unknown
|
Versions
Constant |
Value |
Description |
kPI_VERSION_1
|
1 |
Version 1
|
kPI_VERSION_1_1
|
2 |
Version 1.1
|
kPI_VERSION_1_2
|
3 |
Version 1.2
|
kPI_VERSION_2
|
4 |
Version 2
|
kPI_VERSION_UNKNOWN
|
0 |
Unknown version
|
Pull Up/Down
Constant |
Value |
Description |
kPUD_DOWN
|
1 |
pull to ground
|
kPUD_OFF
|
0 |
no pull up/down
|
kPUD_UP
|
2 |
pull to 3.3v
|
PWM Modes
Constant |
Value |
Description |
kPWM_MODE_BAL
|
1 |
Balanced
|
kPWM_MODE_MS
|
0 |
Mark:Space
|
Some examples which use this module:
Blog Entries
Release notes
- Version 19.2
- Fixed issue with piModelNames, piRevisionNames, piMakerNames in WiringPiMBS module.
The items on this page are in the following plugins: MBS Linux Plugin.