#include "../NewSoftSerial/NewSoftSerial.h"
#include "../CRC7/CRC7.h"
#include "WProgram.h"
#include <inttypes.h>
#include <avr/interrupt.h>
Go to the source code of this file.
Classes | |
class | PololuQik2 |
Defines | |
#define | INITIALPACKET 0xAA |
#define | MOTOR0FORWARDPACKET 0x88 |
#define | MOTOR1FORWARDPACKET 0x8C |
#define | MOTOR0REVERSEPACKET 0x8A |
#define | MOTOR1REVERSEPACKET 0x8E |
#define | MOTOR0COASTPACKET 0x86 |
#define | MOTOR1COASTPACKET 0x87 |
#define | FWVERSIONPACKET 0x81 |
#define | ERRORPACKET 0x82 |
#define | DATAOVERRUNERRORBIT 3 |
#define | FRAMEERRORBIT 4 |
#define | CRCERRORBIT 5 |
#define | FORMATERRORBIT 6 |
#define | TIMEOUTERRORBIT 7 |
Definition in file PololuQik2.h.
#define CRCERRORBIT 5 |
Definition at line 66 of file PololuQik2.h.
Referenced by PololuQik2::hasCRCError().
#define DATAOVERRUNERRORBIT 3 |
Definition at line 64 of file PololuQik2.h.
Referenced by PololuQik2::hasDataOverrunError().
#define ERRORPACKET 0x82 |
Definition at line 62 of file PololuQik2.h.
Referenced by PololuQik2::getError().
#define FORMATERRORBIT 6 |
Definition at line 67 of file PololuQik2.h.
Referenced by PololuQik2::hasFormatError().
#define FRAMEERRORBIT 4 |
Definition at line 65 of file PololuQik2.h.
Referenced by PololuQik2::hasFrameError().
#define FWVERSIONPACKET 0x81 |
Definition at line 61 of file PololuQik2.h.
Referenced by PololuQik2::getFirmwareVersion().
#define INITIALPACKET 0xAA |
Definition at line 54 of file PololuQik2.h.
Referenced by PololuQik2::begin().
#define MOTOR0COASTPACKET 0x86 |
Definition at line 59 of file PololuQik2.h.
Referenced by PololuQik2::motor0Coast().
#define MOTOR0FORWARDPACKET 0x88 |
Definition at line 55 of file PololuQik2.h.
Referenced by PololuQik2::motor0Forward().
#define MOTOR0REVERSEPACKET 0x8A |
Definition at line 57 of file PololuQik2.h.
Referenced by PololuQik2::motor0Reverse().
#define MOTOR1COASTPACKET 0x87 |
Definition at line 60 of file PololuQik2.h.
Referenced by PololuQik2::motor1Coast().
#define MOTOR1FORWARDPACKET 0x8C |
Definition at line 56 of file PololuQik2.h.
Referenced by PololuQik2::motor1Forward().
#define MOTOR1REVERSEPACKET 0x8E |
Definition at line 58 of file PololuQik2.h.
Referenced by PololuQik2::motor1Reverse(), PololuQik2::stopMotor0(), and PololuQik2::stopMotor1().
#define TIMEOUTERRORBIT 7 |
Definition at line 68 of file PololuQik2.h.
Referenced by PololuQik2::hasTimeoutError().