Source code for Twitter World Mood Light

by Stephen Hobley on June 25, 2010

I’ve been asked a couple of times for the source code to the World Mood Light I ported to use the WiShield.

I put it all in a RAR archive file and you can download it here.

Share

{ 6 comments… read them below or add one }

Hugo December 23, 2010 at 3:36 pm

Hi,

I’m trying your code, but i ‘got this error:

worldmood2.cpp: In function ‘bool GetHttpWebRequest(char*)’:
worldmood2:92: error: ‘GETrequest’ was not declared in this scope
worldmood2:92: error: expected `;’ before ‘getTweets’
worldmood2:93: error: ‘getTweets’ was not declared in this scope

That mean i have some problems with my includes ?

Stephen Hobley December 23, 2010 at 4:46 pm

Yes, it looks like you are missing one of the libraries.

I’m pretty confident the code works with the latest Arduino dev environment – I demo’d it recently and we just downloaded everything, compiled and it ran.

Do a search for these functions in the supplied code, and see if the h file is being included and can be found.

Hugo December 24, 2010 at 6:33 am

Hi,

actually I used my wishield librairie (Asynclabs wiki), yours has two more files.

Now it works perfectly.

Thank you.

KD February 20, 2011 at 5:48 pm

I’m having this same problem, how did you fix it?

Maria September 15, 2011 at 1:43 pm

Hey I was wondering if you do use this with an ethernet shield?

Stephen Hobley September 15, 2011 at 1:51 pm

I’ve not used it – but the principle should be very similar – you only have a small buffer to work with so you read the results one chunk at a time.

Leave a Comment

Comments links could be nofollow free.

Previous post:

Next post: