Browse Source

„arduino/TactiloControllerPanda.ino“ ändern

master
Tobias Baumann 2 years ago
parent
commit
bb6c6013dd
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      arduino/TactiloControllerPanda.ino

+ 2
- 2
arduino/TactiloControllerPanda.ino View File



void set_PinMode() void set_PinMode()
{ {
//set all pins to OUTPUT
pinMode(TAC1, OUTPUT); pinMode(TAC1, OUTPUT);
pinMode(TAC2, OUTPUT); pinMode(TAC2, OUTPUT);
pinMode(TAC3, OUTPUT); pinMode(TAC3, OUTPUT);
pinMode(TAC4, OUTPUT); pinMode(TAC4, OUTPUT);
pinMode(TAC5, OUTPUT); pinMode(TAC5, OUTPUT);
pinMode(TAC6, OUTPUT); pinMode(TAC6, OUTPUT);
//reserve
pinMode(TAC7, OUTPUT); pinMode(TAC7, OUTPUT);
pinMode(TAC8, OUTPUT); pinMode(TAC8, OUTPUT);
pinMode(TAC9, OUTPUT); pinMode(TAC9, OUTPUT);


void set_AllLow() void set_AllLow()
{ {
//set all pins to LOW
digitalWrite(TAC1, LOW); digitalWrite(TAC1, LOW);
digitalWrite(TAC2, LOW); digitalWrite(TAC2, LOW);
digitalWrite(TAC3, LOW); digitalWrite(TAC3, LOW);
digitalWrite(TAC4, LOW); digitalWrite(TAC4, LOW);
digitalWrite(TAC5, LOW); digitalWrite(TAC5, LOW);
digitalWrite(TAC6, LOW); digitalWrite(TAC6, LOW);
//reserve
digitalWrite(TAC7, LOW); digitalWrite(TAC7, LOW);
digitalWrite(TAC8, LOW); digitalWrite(TAC8, LOW);
digitalWrite(TAC9, LOW); digitalWrite(TAC9, LOW);

Loading…
Cancel
Save