Weather station 8266 feather project with different feather

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
martian
 
Posts: 112
Joined: Wed Sep 27, 2017 2:17 am

Weather station 8266 feather project with different feather

Post by martian »

Hey there,

I’ve got this project running:

https://learn.adafruit.com/wifi-weather ... y/overview

But I want to use a M0 WiFi feather instead, this one:

https://www.adafruit.com/product/3010?

Reason being I have the wrong headers on the ESP8266 so am currently hand wired and want the compactness of plugging the board right into the feather wing

Any advice on how to make this work in terms of code updates? I know I have to reassign some of the pins.

User avatar
Franklin97355
 
Posts: 23911
Joined: Mon Apr 21, 2008 2:33 pm

Re: Weather station 8266 feather project with different feat

Post by Franklin97355 »

Take the code you have and try compiling it for the M0. If that works you know you have a chance, if not fix the code first.

User avatar
martian
 
Posts: 112
Joined: Wed Sep 27, 2017 2:17 am

Re: Weather station 8266 feather project with different feat

Post by martian »

Hey Franklin, thanks!

S0, not, it doesn’t compile.

I get this:

/var/folders/lk/_6vdh08x2b14r_z59l3nmysw0000gn/T/arduino_modified_sketch_53717/esp8266-weather-station-color.ino:29:49: fatal error: ESP8266WiFi.h: No such file or directory #include <ESP8266WiFi.h>

Which makes sense as it is not an ESP8266.

I swapped this for the WiFi library I have used before with the Feather M0:

#include <WiFi101.h>

But then I get this:

Documents/Arduino/libraries/Mini_Grafx/src/MiniGrafx.h:31:16: fatal error: FS.h: No such file or directory #include <FS.h>

Googling <FS.h> I learned it is something called a “file system wrapper”, button sure what that is or if i can work around it.

Not sure if i should try and modify that library, or …?

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”