Comments (13)
That EtherCard.zip link should probably be removed - the latest code is here on GitHub. Can you tell me where the link came from?
from ethercard.
http://jeelabs.net/projects/cafe/wiki/EtherCard
I did download the files from the GiyHub (the ones with the .ino ext renamed it to pde and tried that first but no joy from that so then i downloaded the .zip from the page listed here and it was the same..
Maybe im using the wrong lib for testing..
Thanks much for the quick responces
from ethercard.
I am also using the 0022 Ide but have just downloaded the 0023
from ethercard.
But i have just downloaded version 1.0 for the .ino files will try again tonight and see if it works or not
from ethercard.
ok so downloaded the lib from GitHub and the 1.0 ide and still no love.. behaves the same during the uploading phase the link light is on as well as a blinking activity light but as soon as the sketch is loaded the lights go out and when i open the serial window i get the title for the example and then it just stops on the next line..
Thoughts
from ethercard.
#define SELECT_BIT 2 // 0 = B0 = pin 8, 2 = B2 = pin 10
#define FULL_SPEED 1 // use full-speed SPI for bulk transfers
wow had to read some one else blog to root this out... I think it is the basic issue with all thing arduino (every one uses's thier own naming conventions) and there is little documentation to point out the things that need to be done to make it work..
from ethercard.
I would assume this is resolved as long as there is a version that can be used on the arduino ide 0022 or 0023 i will be happy but i may not move to the ide 1.0 i would have to change way too many things in my current project to make it worth it..
Kind of one of those things where if it aint broke dont fix it
Thanks for your time andm lib let me know if you plan to keep a .pde version around that will work with the 022/23 ide's
from ethercard.
Paul - can you explain? What did you change? Which blog are you referring to?
from ethercard.
#define SELECT_BIT 2 // 0 = B0 = pin 8, 2 = B2 = pin 10
this was
#define SELECT_BIT 0 // 0 = B0 = pin 8, 2 = B2 = pin 10
but there is no clear documentation that this needs to be changed in the arduino sketch for the ethershiled boards..
the blog was just one of the other blogs on the chips set it was a subscriber to that blog that pointed out that the line needed to be changed..
I dug a little and found it but with out that piece of information im pretty sure i would have stoped using the library.
Do you plan on maintaining a version compatible with 0022 or 0023 VS the GitHub version that is named .ino for the 1.0 version of the ide..
**************** UPDATED ******************** (9:39 am)
I see this is in place...
#ifndef EtherCard_h
#define EtherCard_h
#if ARDUINO >= 100
#include // Arduino 1.0
#define WRITE_RESULT size_t
#define WRITE_RETURN return 1;
#else
#include // Arduino 0022
#define WRITE_RESULT void
#define WRITE_RETURN
#endif
so if i download the latest lib but use the pde's from the previous versions or just rename the .ino files to .pde i should be good to go will test tonight...
Man sleep is underrated... I need more of it
from ethercard.
http://arduino.cc/forum/index.php?topic=56057.0
reply 67 and 68 is what put me onto it
from ethercard.
Ok i have 0022 installed and have the GitHub version of the lib and have just renamed the examples .pde and the compiled and ran fine... Again thanks for making the ethernet simpler to use.. Time to go over the lib now and exampiles and try to start converting my reefcontroller over to your lib..
Thanks again
from ethercard.
I had the same problem - no link light, no activity. But after a change to SELECT_BIT 2 everything works as a charm.
Awesome! :)
from ethercard.
I have an update coming soon that adds an extra parameter to one of the functions that enables you to specify 10 or 8, or no parameter for default behaviour. This is so that shields like the Nuelectronics EtherShield will work without having to hack the library. I have a number of different boards, some shields, others with integrated ENC28J60 so having the ablilty to select the CS pin to use from the sketch is an advantage.
Cheers
Andy
from ethercard.
Related Issues (20)
- Several typos in README.md
- ATMega1284p not working HOT 1
- esp8266 HOT 1
- FINE ADJUSTMENTS
- Example ether.browseUrl(PSTR("/foo/"), "bar", website, my_callback); not working HOT 6
- UDP Multicast MAC not correct? HOT 5
- facing problem while using with SD card
- Concurrent requests possible?
- Custom host name while setting Static IP HOT 1
- Multicast listening HOT 1
- Rename 'master' branch to 'main'
- Reading response only 512 bytes chunk of tcpsend
- Hide response header from HTTP response
- Is there any way to use other serial port for ether.printIp()?
- UDP packet is not sent - NOT STATIC IP HOT 1
- Incorrect session id returned
- DHCP client + browse url with specific port HOT 1
- Wrong Ethernet II destination MAC address. HOT 6
- Error initializing library on Arduino Nano HOT 5
- How to handle multiple sessions?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ethercard.