Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors compiling #1

Open
ionciubotaru opened this issue Jun 7, 2014 · 2 comments
Open

Errors compiling #1

ionciubotaru opened this issue Jun 7, 2014 · 2 comments

Comments

@ionciubotaru
Copy link

Hi,
I tried to compile one of webSerial examples and I found the following errors:

byte ip[] = { 192, 168, 1 , 100 };
invalid conversion from byte to int - I fixed it:
IPAddress ip(192, 168, 1, 100);

error: 'size_t' does not name a type
I think uint8_t must be use

keywords.txt file is missing, so compiler returns
error: 'class WebSerial' has no member named 'print'

I used Arduino 1.0.5 compiler
can you fix the library errors, I thing it is a verry usefull library for remote debuging

@albaltas
Copy link
Contributor

albaltas commented Jun 7, 2014

I just successfully compiled both examples on the Arduino IDE 1.0.5 and on codebender.cc for Arduino Uno. Which board did you use? Keep in mind that the WebSerial library has this Websocket library (https://github.com/ejeklint/ArduinoWebsocketServer) as a dependency. Maybe that was your issue. I should actually update the Readme to include that.

@ionciubotaru
Copy link
Author

Thank's for help, now it compiles without errors.
I upload the schetch, but I don't know how to use the examples. I enter into the browser the arduino's IP but nothing happend. I use both - standard bootloader for arduino ethernet and ariadne bootloader.
With Ariadne arduino answer at ping, with stadard bootloader it doesn't (I used the same mac and ip at ariadne and schetch)

I used http://imall.iteadstudio.com/development-platform/arduino/arduino-compatible-mainboard/im120410001.html which works fine on all projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants