Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Updates for Arduino 1.0+ #6

Open
wants to merge 2 commits into from

1 participant

Jeremy Blum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 2 unique commits by 1 author.

Jan 02, 2013
Jeremy Blum sciguy14 updated to work with Arduino 1.0+ 9200a04
Jan 03, 2013
Jeremy Blum sciguy14 WiServer syntax update f849f37
This page is out of date. Refresh to see the latest.
4 WiServer.cpp
@@ -35,7 +35,7 @@
35 35 *****************************************************************************/
36 36
37 37
38   -#include "WProgram.h"
  38 +#include "arduino.h"
39 39 #include "WiServer.h"
40 40
41 41 extern "C" {
@@ -211,7 +211,7 @@ void Server::printTime(long t) {
211 211 /*
212 212 * Writes a byte to the virtual buffer for the current connection
213 213 */
214   -void Server::write(uint8_t b) {
  214 +size_t Server::write(uint8_t b) {
215 215
216 216 // Make sure there's a current connection
217 217 if (uip_conn) {
2  WiServer.h
@@ -195,7 +195,7 @@ class Server: public Print
195 195 /**
196 196 * Writes a single byte to the current connection buffer
197 197 */
198   - virtual void write(uint8_t);
  198 + virtual size_t write(uint8_t);
199 199
200 200 /**
201 201 * Prints a string that is stored in program memory
2  WiShield.cpp
@@ -43,7 +43,7 @@ extern "C" {
43 43 void stack_process(void);
44 44 }
45 45
46   -#include "WProgram.h"
  46 +#include "arduino.h"
47 47 #include "WiShield.h"
48 48
49 49 boolean WiShield::init(U8 seconds)
2  clock-arch.c
@@ -41,7 +41,7 @@
41 41 #include <avr/sfr_defs.h>
42 42
43 43 #include "clock-arch.h"
44   -#include "wiring.h"
  44 +#include "arduino.h"
45 45
46 46 #if 0
47 47 //Counted time

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.