Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/corelibs/onewire/test_onewire_DS18x20.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@
#include <OneWire.h>
#include "test_common_includes.h"

#ifndef TEST_PIN_ONEWIRE
#define TEST_PIN_ONEWIRE 0
#endif
// OneWire instance and variables
static OneWire oneWire(0); // Pin 0 is used for the OneWire bus
static OneWire oneWire(TEST_PIN_ONEWIRE);
static uint8_t addr[8];
static uint8_t data[12];

Expand Down