Beim orginalen RP6 sehe ich keinen Pullup im Schaltplan. Der Ausgang vom OV geht direkt auf den Eingang vom Mega32.angeschlossen an Pin PD2 und PD3 über einen 10Kohm Pull UP
Und der interne Pullup wird auch nicht verwendet:
(Aus RP6RobotBase.h)Code:// PORTD #define ACS_PWR (1 << PIND6) // Output #define MOTOR_R (1 << PIND5) // PWM Output (OC1A) #define MOTOR_L (1 << PIND4) // PWM Output (OC1B) #define ENC_R (1 << PIND3) // INT1 (Input) #define ENC_L (1 << PIND2) // INT0 (Input) #define TX (1 << PIND1) // USART TX (Output) #define RX (1 << PIND0) // USART RX (Input) // Initial value of port and direction registers. #define INIT_DDRD 0b11110010 #define INIT_PRTD 0b00000001







Zitieren


Lesezeichen