unify pin naming scheme

This commit is contained in:
Morgan Redfield
2019-03-15 10:43:15 -07:00
parent 9d708e4046
commit 3c3d83c057
19 changed files with 73 additions and 73 deletions

View File

@@ -5,7 +5,7 @@
#include <HamShield.h>
#define PWM_PIN 3
#define MIC_PIN 3
#define RESET_PIN A3
#define SWITCH_PIN 2
@@ -17,8 +17,8 @@ uint8_t pl_rx_buffer[32];
void setup() {
// NOTE: if not using PWM out, it should be held low to avoid tx noise
pinMode(PWM_PIN, OUTPUT);
digitalWrite(PWM_PIN, LOW);
pinMode(MIC_PIN, OUTPUT);
digitalWrite(MIC_PIN, LOW);
// prep the switch
pinMode(SWITCH_PIN, INPUT_PULLUP);