SDI-12 with Arduino Uno Rev2? - "Please define your board timer and pins"

Hello,

I am trying to run the SDI-12 Library with the Arduino Uno Rev2,

I am using the example program from this link:

However, when I click verify, I get the following error:

WARNING: library SDI-12 claims to run on avr, sam, samd, espressif architecture(s) and may be incompatible with your current board which runs on megaavr architecture(s).
In file included from D:\Studies\Projects\Wireless Sensor Network\Work\APC220 Mesh Network\Tests\Test_1\libraries\SDI-12\src/SDI12.h:132:0,
                 from D:\Studies\Projects\Wireless Sensor Network\Work\APC220 Mesh Network\Tests\Wild Card\a_wild_card\a_wild_card.ino:18:
D:\Studies\Projects\Wireless Sensor Network\Work\APC220 Mesh Network\Tests\Test_1\libraries\SDI-12\src/SDI12_boards.h:390:2: error: #error "Please define your board timer and pins"
 #error "Please define your board timer and pins"
  ^~~~~
exit status 1
Error compiling for board Arduino Uno WiFi Rev2.

Is there any workaround possible for this?
Any help appreciated.

Regards,
Lolcocks.

Unfortunately I do not have an Arduino Uno Wifi Rev 2.

But I found this on https://store.arduino.cc/products/arduino-uno-wifi-rev2

image

You could check if you have activated "Registers emulation: ATMEGA328" as shown here for an Arduino Nano Every:

image

This may help in this specific case but may impose other problems in future ... as it is kind of a tweak ...

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.