Skip to content

Instantly share code, notes, and snippets.

@hgducharme
hgducharme / main.cpp
Last active August 20, 2019 01:22
Basic code for controlling a DC motor and one quadrature rotary encoder.
// LPD3806 rotary encoder
#include <Arduino.h>
#include "rotaryEncoderLPD3806.h"
#include "motorControllerDrokL298.h"
void setup()
{
Serial.begin(9400);