• 0
olaf

Porting Arduino sketch from an ESP8266 to ChipKit Wi-FIRE rev.C

Question

Hi,

I have a few questions in this task.

1. What is the best Arduino board package to use for the Wi-FIRE board?

a. https://github.com/chipKIT32/chipKIT-core/raw/master/package_chipkit_index.json

b. https://s3-us-west-2.amazonaws.com/digilent/Software/Digilent_Core/package_digilent_index.json

Both seem to run the basic blink sketch. I lean toward b. since I can specifically select "Wi-FIRE (rev.C)"

Just wonder if Digilent is fully up-to-date with Wi-FIRE since they still are teaching how to use MPIDE, and http://chipkit.net/wiki/index.php?title=ChipKIT_core states 

"Note that the chipKIT core replaced the need for MPIDE

2.

I am replacing #include <ESP8266WiFi.h> with #include <MRF24G.h> , #include <DEIPcK.h> and #include <DEWFcK.h>.

Are there any documentation that fully describe the API for these MRF24WG0MA libraries, beside the source code and some example programs?


Thanks

Olaf

 

 

 

 

 

 

 

 

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 1

Hi @olaf,

We recommend the option b with the Digilent Core, since it will be the most up to date with our hardware. Much of the wording that is used in the material available can have the phrase MPIDE replaced with Arduino IDE without any other changes. Unfortunately, I do not believe there is any documentation that fully describes the API at this point in time, but we will do our best to answer your questions.

Thank you,
JColvin

Share this post


Link to post
Share on other sites
  • 1

Hi @olaf,

I don't know if there is a nice API for the WiFIRE flash memory. What I might recommend is using an SD card and using the SD library that comes with Arduino IDE.

Let me know if you have more questions.

Thank you,
JColvin

Share this post


Link to post
Share on other sites
  • 0

I am using Esp8266 EEPROM to store configuration params, but since WiFire doesn't have EEPROM how do I best store permanent data? Where can I find API for WiFire Flash? Any better way will maybe change values 1k-5k times total.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now