If it's wrong section I'm really sorry and I'll close this thread or move it.
I want to connect and program Wavershare e-Paper with LinkIt One. I'm using Arduino IDE 1.6.6 with LinkIt One SDK (like here). Addidtionally I'm usign this library for e-Paper. The problem is - when I want to verfy and complie included demo this error appears:
Arduino: 1.6.6 (Windows 10), Board: "LinkIt ONE"
Warning: platform.txt from core 'MediaTek ARM7 EJ-S (32-bits) Boards' contains deprecated recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} "{build.path}/{archive_file}" "{object_file}", automatically converted to recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} "{archive_file_path}" "{object_file}". Consider upgrading this core.
C:\Users\Marcin\Documents\Arduino\libraries\epd7in5b\epdif.cpp: In static member function 'static int EpdIf::IfInit()':
C:\Users\Marcin\Documents\Arduino\libraries\epd7in5b\epdif.cpp:61:9: error: 'class SPIClass' has no member named 'beginTransaction'
Asachi:
I'm using Arduino IDE 1.6.6 with LinkIt One SDK (like here).
Unfortunately, those instructions lead you to install a very outdated version of the Linkit One hardware package. The SPI library bundled with that version is missing some of the API components that were added to the official Arduino SPI library years ago, and are used by the e-paper library.
I can provide you with instructions for updating the SPI library, but I would like to get some more information first so I can customize the instructions to your installation so they are very easy to follow.
Please do this:
(In the Arduino IDE) click File > Preferences
Check the box next to "Show verbose output during: > compilation
Click "OK"
Sketch > Verify/Compile
After the compilation fails you'll see a button on the right side of the orange bar "Copy error messages". Click that button.
In a forum reply here, click on the reply field.
Click the </> button on the forum toolbar. This will add the forum's code tags markup to your reply.
Press "Ctrl + V". This will paste the compilation output between the code tags.
Move the cursor outside of the code tags before you add any additional text to your reply.
If the length of the output exceeds the forum's 9000 character limit, save it in a .txt file and post it here as an attachment. If you click the "Reply" button you'll see the "Attachments and other options" link.
Delete the folder C:\Users\Marcin\AppData\Local\Arduino15\packages\LinkIt\hardware\arm\1.1.23\libraries\SPI. Note that the AppData folder is a system folder and thus may be hidden by Windows Explorer by default. You can change the Explorer settings to not hide system folders.
Copy the folder Arduino-Add-On-for-LinkIt-SDK-0.10.21\middleware\third_party\arduino\hardware\arduino\mt7697\libraries\SPI from the unzipped folder to C:\Users\Marcin\AppData\Local\Arduino15\packages\LinkIt\hardware\arm\1.1.23\libraries.
Okey, so that helped, but now I have a problem with "#include <constants.h>". Txt file is in the attachment.
//EDIT
Is there an option to upgrade everything to the newest versions and it will work? Like Arduino IDE, Linkit One libraries etc? I'm just getting more and more annoyed that something is too old ...
OK, it looks like the SPI library from the newer version has some dependency on some other parts of the newer version of the package. Unfortunately it's pretty complicated to install the newer version of the package since the creator didn't bother to provide Boards Manager installation support. I can provide instructions for how to do this, but first I want to be able to fully test it on my own system. To do that, I'll need you to post your sketch.
As for updating the Arduino IDE, I think it is probably a good idea to do that eventually, but I don't think it has anything to do with the current problems you're having. Arduino IDE 1.6.6 was released right after Arduino made some huge changes to the IDE and it had a huge number of bugs. So of all the IDE versions you could use, that is probably the worst one. I think the instructions mention 1.6.6 simply because that was the newest IDE version at the time they were written. Probably it would have made more sense to say "Arduino IDE 1.6.6 or newer".