Is the Arduino Giga r1 wifi compatible with the Sensor Kit from Seeed?

I am trying to get the Arduino Giga r1 Wifi to work with my new Arduino Sensor Kit however I keep getting this error:

WARNING: library Arduino_Sensorkit claims to run on avr architecture(s) and may be incompatible with your current board which runs on mbed_giga architecture(s).
C:\Users\huber\OneDrive\Documents\Arduino\libraries\Arduino_Sensorkit\src\Arduino_SensorKit.cpp:4:52: error: 'SCL' was not declared in this scope
 U8X8_SSD1306_128X64_NONAME_SW_I2C Oled(/* clock=*/ SCL, /* data=*/ SDA, /* reset=*/ U8X8_PIN_NONE);
                                                    ^~~
C:\Users\huber\OneDrive\Documents\Arduino\libraries\Arduino_Sensorkit\src\Arduino_SensorKit.cpp:4:52: note: suggested alternative: 'SCK'
 U8X8_SSD1306_128X64_NONAME_SW_I2C Oled(/* clock=*/ SCL, /* data=*/ SDA, /* reset=*/ U8X8_PIN_NONE);
                                                    ^~~
                                                    SCK
C:\Users\huber\OneDrive\Documents\Arduino\libraries\Arduino_Sensorkit\src\Arduino_SensorKit.cpp:4:68: error: 'SDA' was not declared in this scope
 U8X8_SSD1306_128X64_NONAME_SW_I2C Oled(/* clock=*/ SCL, /* data=*/ SDA, /* reset=*/ U8X8_PIN_NONE);
                                                                    ^~~

exit status 1

Compilation error: exit status 1

This is my code (It's the first example from the website https://sensorkit.arduino.cc/:

#include "Arduino_SensorKit.h"

int button = 4;
int LED = 6;

void setup() {
  // put your setup code here, to run once:
  Serial.begin(9600);
  while (!Serial);

  pinMode(button , INPUT);
  pinMode(LED, OUTPUT);

  digitalWrite(LED, LOW);
}

void loop() {
  // put your main code here, to run repeatedly:
  if (digitalRead(button)) {
    digitalWrite(LED, HIGH);
  } else {
    digitalWrite(LED, LOW);
  }
}

> Blockquote

Am I wasting my time trying to figure this out, or can it be done?

For the time being yes you are, the library is avr only, that's what the first line reads.

You could reach out to the maintainer(s) of Arduino_SensorKit and ask if they are planning to support your platform, the Giga r1.

That's what I feared... Thanks for your help though!!

Hello!
The newly released version 1.2.1 of the Arduino_SensorKit library compiles correctly on GIGA R1. Can you try to upgrade it and check if it works for you? :slight_smile:

Sure, I'd be glad to!

1 Like