per1234
7f4c29927d
Clean up Ethernet example comments
...
- Fix typos and formatting.
- Remove analog inputs part of Circuit comment in ChatServer and
AdvancedChatServer. The examples don't use these analog inputs.
2015-10-04 05:03:31 -07:00
Federico Fissore
5e98cd8528
Examples: mass code format. See example_formatter.conf
2015-07-06 15:19:05 +02:00
Federico Fissore
b4c68b3dff
Run new astyle formatter against all the examples
2013-10-21 09:58:40 +02:00
Fede85
9454816162
Ethernet, SD and LiquidCrystal to the new library format
2013-06-26 19:13:04 +02:00
Cristian Maglie
57b8713cab
Moved libraries folder inside platform folder. Now libraries and examples are searched per board/platform
2012-01-04 15:14:51 +01:00
David A. Mellis
da5ccf4eaf
Merge remote-tracking branch 'amcewen/wifly_integration' into new-extension
2011-08-31 14:25:04 -04:00
amcewen
a6093a8d91
Created an abstract base class UDP to match the Client and Server classes, and reworked the Ethernet library to use it and derive EthernetUDP.
2011-08-30 21:27:31 +01:00
Tom Igoe
35777612c0
Changed all .pde examples to .ino
...
All examples in /build/shared/examples/ and /libraries/ have had their
extensions changed to .ino
2011-08-30 15:33:32 -04:00
David A. Mellis
f43c0918ff
Merge branch 'dhcp' of github.com:amcewen/Arduino.
...
This includes DCHP support and new UDP API for the Ethernet library.
2011-03-23 23:28:33 -04:00
amcewen
5caad5bdb4
Added a method to read data into a char buffer so that character-based (rather than byte-based) operations don't require a cast. As requested by Tom Igoe. Part of the fix to issue 439.
2011-01-13 17:55:08 +00:00
amcewen
88e858f6e3
Fix for issue 439. UDP API changed to derive from Stream. The old sendPacket and readPacket calls have been removed, and replaced with Stream-derived alternatives which provide more commonality with other communications classes and to allow both buffered and full-packet-at-a-time uses. Also includes the introduction of an IPAddress class to make passing them around easier (and require fewer pointers to be exposed)
2011-01-10 14:54:29 +00:00
amcewen
ca07ac18f3
Update to the fix for Issue #436 - UdpClass renamed to UDP and the constructor moved into the .cpp to prevent compilation errors in certain conditions if w5100.h hasn't been included before Udp.h
2011-01-01 21:42:23 +00:00
amcewen
bc0f3c4fe1
Fixes to UDP so that it no longer has socket 0 hardcoded - all part of issue #436 . UdpClass::begin now finds the first available free socket, or fails if they're all in use. UdpClass::stop added to release the socket once it is no longer needed. The global Udp object has also been removed and the examples updated to provide their own instance. Finally, in testing I noticed that the UdpNtpClient didn't print leading 0s if the minute or second was a single-digit, so have taken the opportunity to provide a simple fix for it.
2010-12-28 15:16:42 +00:00
Tom Igoe
addbdd7949
updating UDP library and examples with M. Margolis' changes and examples.
2010-09-17 14:17:01 +00:00