Go Down

Topic: ADAFRUIT PRO TRINKET SERVO CONTROLLERS (Read 61 times) previous topic - next topic

daloekhabafe1

HELLO EVERYONE,
    SO I JUST GOT THE PRO TRINKET FROM ADAFRUIT AND ONE OF THEIR BASIC SERVO MOTOR. THE PROJECT I WANT TO CREATE IS VERY SIMPLE. I JUST WANT TO MAKE THE SERVO MOTOR MOVE BACK AND FORTH WITH A 90 DEGREE SWEEP. HOW DO I WIRE AND CODE THIS?

groundFungus


ballscrewbob

OP's other post.

when i try to load the basic  servo "sweep" code  ( available in the arduino code example library) for controlling a servo using the 5v trinket pro i get the following errors. how can i fix it?




Arduino: 1.8.9 (Windows 10), Board: "Pro Trinket 5V/16MHz (USB)"

Sketch uses 2162 bytes (7%) of program storage space. Maximum is 28672 bytes.
Global variables use 56 bytes of dynamic memory.
An error occurred while uploading the sketch

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

ballscrewbob

@daloekhabafe1

Please do not cross post as it wastes peoples time and effort to help.

Could you also READ THIS please before posting anything else.

Bob.

It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

Go Up