Tony Drake Posted April 13, 2017 Share Posted April 13, 2017 Doe anyone have some starter code or configuration information on using the OLED on the Basic I/O Shield with the WF32. thanks Link to comment Share on other sites More sharing options...
jpeyron Posted April 13, 2017 Share Posted April 13, 2017 Hi @Tony Drake, Here is the resource page for the chipkit basic io shield it has downloadable code for mpide(free) which is available here. Unfortunately this library uses plib.h so it is not compatible with arduino ide. cheers, Jon Link to comment Share on other sites More sharing options...
Tony Drake Posted April 14, 2017 Author Share Posted April 14, 2017 Thank you. I have been working with these examples. But when i set the board to WF32 i get No Supported Board Found. when the board is set to UNO32 w/ Pmod Shield it complies and loads, but does nothing. There must be a configuration change that i am missing. Thanks tony Link to comment Share on other sites More sharing options...
D@n Posted April 14, 2017 Share Posted April 14, 2017 @Tony Drake, Are you using the Arduino IDE? If so, look in the tools menu under boards. Is your board listed? Dan Link to comment Share on other sites More sharing options...
jpeyron Posted April 14, 2017 Share Posted April 14, 2017 Hi @Tony Drake, We had to alter the OledDriver.c and the OledDriver.h files to include the WF32. I have attached the altered files. Replace the originals files with these. Also you need to make sure that the JP3 is set to PWM. cheers, Jon files_for_wf32_ioshield_oled.zip Link to comment Share on other sites More sharing options...
Tony Drake Posted April 16, 2017 Author Share Posted April 16, 2017 Thanks, I have replaced the files in the Libraries directory and now i have multiple definition errors: utility\OledDriver.c.o: In function `OledTerm': C:/www/Digilent/MpideProjects/libraries/utility/OledDriver.c:215: multiple definition of `OledHostInit' OledDriver.c.o:C:/Users/Tony/AppData/Local/Temp/build2614516274720347998.tmp/OledDriver.c:215: first defined here utility\OledDriver.c.o: In function `Spi2PutByte': Link to comment Share on other sites More sharing options...
jpeyron Posted April 17, 2017 Share Posted April 17, 2017 Hi @Tony Drake, I just went through compiled and loaded the WF32 with the IOShieldOled demo again with no issue this morning. I have attached the library that I am using. I would suggest to replace your library with the library I attached. Also remember that JP3 need to be set to PWM. Let us know if this fixes the issue. cheers, Jon IOShieldOled.zip Link to comment Share on other sites More sharing options...
Tony Drake Posted April 17, 2017 Author Share Posted April 17, 2017 Thanks, Jon. I have tried this in both MPIDE and Arduino IDE. No joy is either case. I will try again with this new attachment, but I think I will not spend anymore time on it at this point an look for another display solution and explore the web server options for the WF32. The web server may serve my purpose. Thanks again. Tony Link to comment Share on other sites More sharing options...
jpeyron Posted April 17, 2017 Share Posted April 17, 2017 Hi @Tony Drake, I know that this library will not work in Arduino due to using plib.h. This library would be usable in MPIDE. Please let us know what happens. cheers, Jon Link to comment Share on other sites More sharing options...
Question
Tony Drake
Doe anyone have some starter code or configuration information on using the OLED on the Basic I/O Shield with the WF32.
thanks
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.