Debug-Ausgaben entfernt
This commit is contained in:
parent
6df92addf4
commit
796d3db498
|
@ -55,15 +55,6 @@ void RotaryDialer::completeDial() {
|
||||||
bool RotaryDialer::update() {
|
bool RotaryDialer::update() {
|
||||||
int readyStatus = digitalRead(pinReady);
|
int readyStatus = digitalRead(pinReady);
|
||||||
int pulseStatus = digitalRead(pinPulse);
|
int pulseStatus = digitalRead(pinPulse);
|
||||||
if ((readyStatus == 0) && (pulseStatus==1))
|
|
||||||
{
|
|
||||||
//Serial.print("Ready: ");
|
|
||||||
//Serial.print(readyStatus);
|
|
||||||
//Serial.print(" Pulse: ");
|
|
||||||
//Serial.print(pulseStatus);
|
|
||||||
//Serial.print(" State: ");
|
|
||||||
//Serial.println(state);
|
|
||||||
}
|
|
||||||
switch(state) {
|
switch(state) {
|
||||||
case WAITING:
|
case WAITING:
|
||||||
if (readyStatus == LOW
|
if (readyStatus == LOW
|
||||||
|
|
Loading…
Reference in New Issue