Buzzer constant sound
Posted: Fri Nov 14, 2014 9:59 pm
not sure whats going one I have finally managed to connect the buzzer and lights but the buzzer is always on unless I turn the beeper ON from the radio it starts beeping which is fine it also beeps during calibration but feels like the buzzer sound is inverted, anyone have any idea?
these are mine settings crius AIO v2 connected to A2 instead of pin 32
these are mine settings crius AIO v2 connected to A2 instead of pin 32
Code: Select all
#define OVERRIDE_BUZZERPIN_PINMODE pinMode (A2, OUTPUT); // use A2 instead of d8
#define OVERRIDE_BUZZERPIN_ON PORTF |= 1<<2 //PORTB |= 1;
#define OVERRIDE_BUZZERPIN_OFF PORTF &= ~(1<<2); //PORTB &= ~1;