I'm trying to get the wifi shield to work. In the examples, the syntax F() for storing strings in the flash memory is used.
While compiling I get the following error. Any suggestion how to solve this?
Thanks!
Arduino: 1.5.8 (Windows 8), Board: "Digispark Pro (16 Mhz)"
Build options changed, rebuilding all
In file included from C:\Users\Simon\Documents\Arduino\hardware\digistump\avr\cores\pro/Arduino.h:221:0,
from sketch_jan13b.ino:2:
sketch_jan13b.ino: In function 'void setup()':
C:\Users\Simon\Documents\Arduino\hardware\digistump\avr\cores\pro/WString.h:41:88: error: reinterpret_cast from type 'const char*' to type '__FlashStringHelper*' casts away qualifiers
#define F(string_literal) (reinterpret_cast<__FlashStringHelper *>(PSTR(string_literal)))
^
sketch_jan13b.ino:4:3: note: in expansion of macro 'F'
Error compiling.