You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I asked a question before and they said I should use THIS code.
But I have a problem. This code seems to be not applied to that module. Because in the code, one of the pins of raspberry prepares to send the signal to the module:
private final static int DEFAULT_PIN = 25;
While this module has two pins to receive a signal. (SDA & SCL) I think the code is for PWM modules. But the module has I2C.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to control a ServoMotor with THIS module:
I asked a question before and they said I should use THIS code.
But I have a problem. This code seems to be not applied to that module. Because in the code, one of the pins of raspberry prepares to send the signal to the module:
While this module has two pins to receive a signal. (SDA & SCL) I think the code is for PWM modules. But the module has I2C.
How should I use the code for my module?
Beta Was this translation helpful? Give feedback.
All reactions