• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomeArduinoShieldsHow to fix this error with Linksprite WiFi Diamond ...
Previous Next

How to fix this error with Linksprite WiFi Diamondback board ?

Posted by: Yang , February 24, 2014

[vc_row][vc_column width=”1/1″][vc_tour][vc_tab title=”Step 1 : ” tab_id=”1393303142-1-13″][vc_column_text]Step 1:Error information

I’m trying to use a webclient sketch with the linksprite 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.[/vc_column_text][/vc_tab][vc_tab title=”Step 2: ” tab_id=”1393303142-2-40″][vc_column_text]Step 2: 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   //uncomment define APP_WEBCLIENT 
 //#define APP_SOCKAPP
 //#define APP_UDPAPP
 //#define APP_WISERVER

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

[/vc_column_text][/vc_tab][vc_tab title=”Step 3:” tab_id=”1393303606236-2-9″][vc_column_text]Step 3: Userful information

Wiki: http://linksprite.com/wiki/index.php5?title=Diamondback_WiFi_Platform_Compatible_With_Arduino[/vc_column_text][/vc_tab][/vc_tour][/vc_column][/vc_row]

Tags: Shields

Share!
Tweet

Yang

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors