Pages: [1]   Go Down
Author Topic: Find the legacy code  (Read 1081 times)
0 Members and 1 Guest are viewing this topic.
Maine
Offline Offline
Jr. Member
**
Karma: 0
Posts: 50
You blocked me on facebook and now youre going to die!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all,
This is just a post for finding all the legacy code in the arduino.cc website, to hopefully get it updated and fixed. I would assume that the webserver is a linux server, but I dont know, and I dont know how to find out. Nor is that really my business. But I did encounter some more legacy code on the page:
http://www.arduino.cc/en/Tutorial/JoyStick

so then I thought that if the web-server is a linux based web-server, that the web-master could run the command
Code:
grep -H -r "beginSerial" arduinoRootDirectory/

and get all the filenames that contain "beginSerial".
Then Fix the code examples on those pages.

But I don't know, if that would work.  Additionally, there might be other terms that a search could be relevant to.
If any given page contains beginSerial, it probably has serial code to reference the start of some serial process like serialWrite.
Beyond that, serial functions are the only bits of legacy code I have encountered thus far. I don't know if there are other snippets lurking on pages that do not utilize "beginSerial".

Again, my only goal here is to have all the examples have code that works.
Any one have more input about how to find an fix legacy code snippets?

Logged

Maine
Offline Offline
Jr. Member
**
Karma: 0
Posts: 50
You blocked me on facebook and now youre going to die!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

So far, Ive found these pages to have legacy code snippets in their tutorials.
arduino.cc/en/Tutorial/ControleLEDcircleWithJoystick
arduino.cc/en/Tutorial/LEDDriver
arduino.cc/en/Tutorial/Qt401
Logged

Pages: [1]   Go Up
Jump to: