Permalink
Browse files

Change charge pump pin

The other pin wasn't 12v tolerant.

Signed-off-by: Paul Brook <paul@nowt.org>
  • Loading branch information...
1 parent 5b9bafe commit 05b33b8aa509ff2d9816f7112fd80414c5cd3afd @pbrook committed Jan 19, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 ArduPIC.ino
View
@@ -7,7 +7,7 @@
int led_pin = 6;
int led2_pin = 7;
-int pump_pin = 21; // Must be Timer1 PWM output B
+int pump_pin = 19; // Must be Timer1 PWM output A
int reset_pin = 0;
int program_pin = 1;
int clock_pin = 2;
@@ -512,6 +512,6 @@ void setup()
// Enable charge pump (high frequency PWM)
Timer1.initialize(10);
- Timer1.pwm(2, 512);
+ Timer1.pwm(1, 512);
}

0 comments on commit 05b33b8

Please sign in to comment.