Changeset 225
- Timestamp:
- 02/25/10 08:51:42 (7 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/goodrobot/robot/plugins/arduino_ethernet/config_params.h
r222 r225 25 25 /* Specify the robot/component name here correctly */ 26 26 /* PROGMEM added to place these strings in flash memory and leave more RAM empty */ 27 char putString[] PROGMEM = "PUT /api/ walking.resource.csv HTTP/1.1\r\n";27 char putString[] PROGMEM = "PUT /api/testing.resource.csv HTTP/1.1\r\n"; 28 28 char hostString[] PROGMEM = "Host: www.goodrobot.com\r\n"; 29 char secret_key[] PROGMEM = "X-GoodRobotKey: WMDSP0PWBCZ5CE26X7Y46E3NOR2LO80YP0NS3TLP\r\n";29 char secret_key[] PROGMEM = "X-GoodRobotKey: LM2SDT3IJJVU2JZXQ1EVOTYWZ8MMIDIZHM3762UQ\r\n"; 30 30 31 31 char putString2[] PROGMEM = "PUT /api/walking.resource.csv HTTP/1.1\r\n"; … … 36 36 /* Pre-Configure Pins for usage and for reset 37 37 * Read arduino_ethernet.pde for help 38 * These are just examples! 38 39 cfg_pins[3] = 'p'; // Pin 3 is set for PWM mode 39 40 cfg_pins[4] = 'i'; // Pin 4 is set for digital Input mode … … 41 42 cfg_apins[2] = 'a'; // Pin 2 analog mode 42 43 43 reset_pins[3] = 'p' // Pin 3, PWM mode, should be reset to 0 44 reset_pins[4] = 'o' // Pin 4, digitalOut mode, should be reset to LOW 44 reset_pins[3] = 'p'; // Pin 3, PWM mode, should be reset to 0 45 reset_pins[4] = 'o'; // Pin 4, digitalOut mode, should be reset to LOW 46 reset_pins[5] = 't'; // Pin 5, PWM mode/Tank drive, should be reset to 127 47 reset_pins[6] = 's'; // Pin 6, Servo mode, should be reset to 0 45 48 46 49 cfg2_pins[10] = 'p'; // Pin 10, PWM mode, sent as component 2 47 50 48 servo.attach(9); // Attach pin 9 for Servo motor connectivity49 51 */ 50 52 }
