Class Pca9685.Sim
A PCA9685 that is not there, for a bus with nothing plugged in.
public static class Pca9685.Sim
- Inheritance
-
Pca9685.Sim
- Inherited Members
Remarks
It holds the part's power-on registers and keeps its datasheet's rules: PRE_SCALE takes a write only while the part sleeps, the register pointer moves on only with auto-increment set, and one write to the ALL_LED registers loads every channel.
Methods
Part(byte)
Makes a PCA9685 as it powers up: asleep at 200 Hz with every output off.
public static I2cPart Part(byte address = 64)
Parameters
addressbyteThe address it answers to.
Returns
- I2cPart
The part, to put on a simulated bus.