All Projects β†’ sparkfun β†’ Vexmotor

sparkfun / Vexmotor

vexMotor Arduino library. This library simplifies the interface between Arduino and the VEX motors through the VEX Motor Controller 29.

Labels

Projects that are alternatives of or similar to Vexmotor

Halloweenfire
πŸŽƒ Arduino sketch for multiple neopixels to create spooky 'fire' effect
Stars: ✭ 24 (+242.86%)
Mutual labels:  arduino
Music Reactive Ws2812b Arduino
LED STRIP WS2812B reacting to music connected through your AUX 3.5mm Jack as seen on cine-light youtube
Stars: ✭ 26 (+271.43%)
Mutual labels:  arduino
Ws2811 Spectrum Analyzer
"Waterfall" spectrum analyzer using WS2811 string RGB LEDs. Pictures/videos and info can be found at www.12vtronix.com
Stars: ✭ 26 (+271.43%)
Mutual labels:  arduino
Ethercardexamples
New examples for EtherCard ENC28J60 library
Stars: ✭ 24 (+242.86%)
Mutual labels:  arduino
Uduino
Simple and easy connection between Arduino and Unity
Stars: ✭ 25 (+257.14%)
Mutual labels:  arduino
Si5351mcu
Arduino Si5351 library tuned for size and click free.
Stars: ✭ 26 (+271.43%)
Mutual labels:  arduino
Midi Rotary Encoder
Teensy++ MIDI controller with 4 LED ring rotary Encoders
Stars: ✭ 23 (+228.57%)
Mutual labels:  arduino
Panstamp sketches
Basic Arduino sketches fro panStamp
Stars: ✭ 7 (+0%)
Mutual labels:  arduino
Adc test
Tutorial: Make the Arduino Analog Readings more precise
Stars: ✭ 25 (+257.14%)
Mutual labels:  arduino
Irelectra
Electra A/C IR Encoder for IRremote
Stars: ✭ 26 (+271.43%)
Mutual labels:  arduino
Watchio
A programmable smart watch based on esp32-pico-d4
Stars: ✭ 25 (+257.14%)
Mutual labels:  arduino
Rubber Ducky Library For Arduino
An Arduino library that allows you to use a cheap Arduino (Leonardo) as a Rubber Ducky
Stars: ✭ 25 (+257.14%)
Mutual labels:  arduino
Flir Lepton
Arduino application. This application captures an image with the FLiR Lepton and prints it.
Stars: ✭ 26 (+271.43%)
Mutual labels:  arduino
Ninjaterm
A serial port terminal that's got your back.
Stars: ✭ 24 (+242.86%)
Mutual labels:  arduino
Thermal printer
Demo Code for the Thermal Printer available from SparkFun Electronics
Stars: ✭ 26 (+271.43%)
Mutual labels:  arduino
Send altitude cocoos
IoT program for Arduino Uno / STM32 Blue Pill (libopencm3) that reads BME280 temperature + humidity + altitude sensors, via I2C or SPI with DMA and multitasking. Sends sensor data to Sigfox via Wisol Sigfox module on UART. Runs on cocoOS task scheduling library http://www.cocoos.net
Stars: ✭ 24 (+242.86%)
Mutual labels:  arduino
Pocketetris
Compact Tetris clone
Stars: ✭ 26 (+271.43%)
Mutual labels:  arduino
Wi Pwn
ESP8266 Deauther ​with a material design WebUI πŸ“Ά
Stars: ✭ 839 (+11885.71%)
Mutual labels:  arduino
Oil Pumpjack
Oil Pumpjack: open source materials to create your own oil pumpjack managed by an Arduino
Stars: ✭ 27 (+285.71%)
Mutual labels:  arduino
Iot cloudcloud
Stars: ✭ 26 (+271.43%)
Mutual labels:  arduino

vexMotor

vexMotor Arduino library. This library simplifies the interface between Arduino and the VEX motors through the VEX Motor Controller 29.

###class vexMotor

###Methods:

void attach(int pin);   // attaches / sets up the motor on a pin
void detach(); 			// detach / releases the pin
void write(int power);  // drive in direction given by sign, at speed given by the
                        //  magnitude of the parameter. Pos. values CW, Neg. values CCW

// default FullSpeedCW and FullSpeed CCW are +255 to -255. Change these limits with setFullSpeedCW() and setFullSpeedCCW()
void setFullSpeedCW(int max);
void setFullSpeedCCW(int min);
int getFullSpeedCW();		// returns the current fullSpeedCW setting
int getFullSpeedCCW();		// returns the current fullSpeedCCW setting

// set a deadBand limit for the motor. i.e. the abs(power) must be greater than the deadBand to
// drive the motor.
void setDeadBand(int deadBand);    // sets the deadBand limit on the motor
int getDeadBand();				   // returns the deadBand setting

// often times the zero point of a motor is not exactly at 0. Use this to reset the zero point.
void setZeroPoint(int zeroPoint);  // sets the zeroPoint
int getZeroPoint();

// sets/returns the pulse Width settings for the motor -- for VEX Motors, these are 1000 uS to 2000 uS with 1500 uS being neutral
void setMinPulse(int minPulse);    // sets the min pulse width
void setMaxPulse(int maxPulse);    // sets the max pulse width
void setNeutralPulse(int neutralPulse);  // sets the zero pulse width

int getMinPulse();    // returns the min pulse width
int getMaxPulse();    // returns the max pulse width
int getNeutralPulse();   // returns the zero pulse width

Click here to download a zip file. Unzip this to a folder called vexMotor in the \arduino\libraries folder in your documents. You must re-name the folder vexMotor (remove the "-master") from the folder name).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].