Skip to content

Commit

Permalink
delete extra variables
Browse files Browse the repository at this point in the history
  • Loading branch information
nihinihikun committed Jan 13, 2024
1 parent cc9d769 commit b7cf0ff
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion Nose/Nose.ino
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ Adafruit_BME280 bme;
MCP342X myADC;
CCP_MCP2515 CCP(CAN0_CS, CAN0_INT); //CAN

unsigned long delayTime;
const int clockFrequency = 400000; //I2C bus speed
bool timer100Hz = false;
bool sleep_sensors = false;
Expand Down
1 change: 0 additions & 1 deletion test/Nose/BME_mcp3421/BME_mcp3421.ino
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
Adafruit_BME280 bme;
MCP342X myADC;

unsigned long delayTime;
const int clockFrequency = 400000; //I2C bus speed

double voltage;
Expand Down
4 changes: 0 additions & 4 deletions test/Nose/bme280test/bme280test.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

Adafruit_BME280 bme;

unsigned long delayTime;

void setup() {
Serial.begin(9600);
unsigned status;
Expand All @@ -17,13 +15,11 @@ void setup() {
status = bme.begin(0x76);
}


void loop() {
printValues();
delay(1000);
}


void printValues() {
Serial.print("Temperature = ");
Serial.print(bme.readTemperature());
Expand Down
4 changes: 0 additions & 4 deletions test/Nose/mcp3421check_samd/mcp3421check_samd.ino
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,11 @@ void setup() {
myADC.configure(MCP342X_MODE_CONTINUOUS | MCP342X_CHANNEL_1 | MCP342X_SIZE_16BIT | MCP342X_GAIN_1X);

Serial.println(myADC.getConfigRegShdw(), HEX);

} // End of setup()

void loop() {
static int16_t result;

myADC.startConversion();
myADC.getResult(&result);

Serial.println(result, HEX);

} // End of loop()

0 comments on commit b7cf0ff

Please sign in to comment.