Not finding pgmspace.h after including SeeedOLED


I am trying to get over the first hurdles of using the Wio Terminal which I think is a fantastic platform. But I have yet to start using it more in depth. Am a bit new to all, but have done a couple of minor project on ESP8266 etc.

Now I wanted to check the onboard light sensor and display the value on the screen of the Wio. Gettign the value to the Serial worked fine, but when adding the SeeedOLED and trying it this way it stops for the error code below that pgmspace.h isnt found with ends in compilaton fatal error.

The code:

#include <Wire.h>

#include <SeeedOLED.h>

void setup() {





void loop() {

int lightValue = analogRead(A0);

SeeedOled.setTextXY(0, 0);

SeeedOled.putString(“Light Value:”);

SeeedOled.setTextXY(1, 0);


SeeedOled.putString(" ");


The error message, part of:

IC:\Users\”myname”\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.3\variants\wio_terminal” “-IC:\Users\”myname”\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.3\libraries\Wire” “-Ic:\Users\”myname”\Desktop\Arduinosketcheddesktop\libraries\OLED_Display_128X64-master” “c:\Users\”myname”\Desktop\Arduinosketcheddesktop\libraries\OLED_Display_128X64-master\SeeedOLED.cpp” -o nul

Alternatives for pgmspace.h: []


→ candidates: []

c:\Users\”myname”\Desktop\Arduinosketcheddesktop\libraries\OLED_Display_128X64-master\SeeedOLED.cpp:31:14: fatal error: pgmspace.h: No such file or directory"