This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Differential Steering Joystick Algorithm | |
// ======================================== | |
// by Calvin Hass | |
// https://www.impulseadventure.com/elec/robot-differential-steering.html | |
// https://github.com/ImpulseAdventure/ | |
// | |
// Converts a single dual-axis joystick into a differential | |
// drive motor control, with support for both drive, turn | |
// and pivot operations. | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ======================================================================== | |
// Very lightweight printf() for Arduino | |
// by Calvin Hass | |
// http://www.impulseadventure.com/elec/ | |
// ======================================================================== | |
// | |
// printf() feature support: | |
// - %u (16-bit unsigned int) | |
// - %d (16-bit signed int) | |
// - %s (null-terminated string) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// RC Receiver PWM to SPI slave | |
// ============================ | |
// by Calvin Hass | |
// http://www.impulseadventure.com/elec/ | |
// | |
// This code implements a simple SPI slave receiver interface | |
// combined with multi-channel pulse-width modulation (PWM) | |
// measurement. Each channel's pulse width is measured in | |
// microseconds and returned in a channelized register interface. | |
// This code can be useful for using a remote-control transmitter |