Jump to content


Photo

Diamondback Wifi board


  • Please log in to reply
1 reply to this topic

#1 jim

jim

    Advanced Member

  • Administrators
  • 3,385 posts

Posted 24 February 2014 - 11:06 PM

Hi,
I'm trying to use a webclient sketch with the linksrite diamondback wifi-enabled arduino board but I have problems compiling the code.
This is the error:
Arduino: 1.5.5 (Windows 7), Board: "Arduino Duemilanove or Diecimila, ATmega328"

ZG2100BasedWiFiShield\webclient.c.o: In function `init_connection':
C:\Program Files\Arduino\libraries\ZG2100BasedWiFiShield/webclient.c:104: undefined reference to `twitter'
C:\Program Files\Arduino\libraries\ZG2100BasedWiFiShield/webclient.c:104: undefined reference to `twitter'

I'm not using twitter and I don't understand why a variable twitter is used in the webclient.c file.
Could you please help me?



#2 jim

jim

    Advanced Member

  • Administrators
  • 3,385 posts

Posted 24 February 2014 - 11:07 PM

Please uncomment define APP_WEBCLIENT in apps-conf.h under the library.

 

 

/******************************************************************************

  Filename:        apps-conf.h
  Description:    Web application configuration file

 ******************************************************************************

  TCP/IP stack and driver for the WiShield 1.0 wireless devices

  Copyright© 2009 Async Labs Inc. All rights reserved.

  This program is free software; you can redistribute it and/or modify it
  under the terms of version 2 of the GNU General Public License as
  published by the Free Software Foundation.

  This program is distributed in the hope that it will be useful, but WITHOUT
  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
  more details.

  You should have received a copy of the GNU General Public License along with
  this program; if not, write to the Free Software Foundation, Inc., 59
  Temple Place - Suite 330, Boston, MA  02111-1307, USA.

  Contact Information:
  <asynclabs@asynclabs.com>

   Author               Date        Comment
  ---------------------------------------------------------------
   AsyncLabs            05/29/2009    Initial port

 *****************************************************************************/

#ifndef __APPS_CONF_H__
#define __APPS_CONF_H__

//Here we include the header file for the application(s) we use in our project.
//#define APP_WEBSERVER
#define APP_WEBCLIENT
//#define APP_SOCKAPP
//#define APP_UDPAPP
//#define APP_WISERVER

#ifdef APP_WEBSERVER
#include "webserver.h"
#endif






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users