Skip to content
Permalink
Browse files

switch to 18 servos

  • Loading branch information
martind
martind committed Jan 13, 2014
1 parent 5886f86 commit 68285bb9ce558b0a688f43ff2465e63266ac42a9
Showing with 13 additions and 2 deletions.
  1. +12 −1 force_test/force_test.ino
  2. +1 −1 force_test/force_test.py
@@ -16,7 +16,18 @@
#define LRF 16
#define LRT 0

const unsigned char servoPins[] = { LFC, LFF, LFT, LMC, LMF, LMT, LRC, LRF, LRT };
#define RFC 13
#define RFF 14
#define RFT 15
#define RMC 12
#define RMF 11
#define RMT 10
#define RRC 9
#define RRF 8
#define RRT 1

const unsigned char servoPins[] = { LFC, LFF, LFT, LMC, LMF, LMT, LRC, LRF, LRT,
RFC, RFF, RFT, RMC, RMF, RMT, RRC, RRF, RRT };
const unsigned int NUM_SERVOS = sizeof(servoPins)/sizeof(unsigned char);

const uint8_t ECHO_CHAR = 'D'; // in memory of Daisy robot
@@ -17,7 +17,7 @@
from serial_servo import LogIt, ReplyLog
from serial_servo import pos2angles

NUM_SERVOS = 9
NUM_SERVOS = 18

SERIAL_BAUD = 38400

0 comments on commit 68285bb

Please sign in to comment.
You can’t perform that action at this time.