Go Down

Topic: Is there a project to improve/replace the official examples? (Read 4 times) previous topic - next topic

Louis Davis

#30
Jun 12, 2013, 05:40 pm Last Edit: Jun 12, 2013, 05:53 pm by Louis Davis Reason: 1
The regular examples are here:
https://github.com/arduino/Arduino/tree/master/build/shared/examples

The following library examples are in github here:
https://github.com/arduino/Arduino/tree/master/libraries
Code: [Select]
libraries/SD/examples/Files/Files.ino
libraries/Servo/examples/Knob/Knob.ino
libraries/Servo/examples/Sweep/Sweep.ino
libraries/GSM/examples/SendSMS/SendSMS.ino
libraries/SD/examples/CardInfo/CardInfo.ino
libraries/SD/examples/DumpFile/DumpFile.ino
libraries/SD/examples/ReadWrite/ReadWrite.ino
libraries/SD/examples/listfiles/listfiles.ino
libraries/SD/examples/Datalogger/Datalogger.ino
libraries/GSM/examples/ReceiveSMS/ReceiveSMS.ino
libraries/LiquidCrystal/examples/Blink/Blink.ino
libraries/GSM/examples/Tools/TestGPRS/TestGPRS.ino
libraries/LiquidCrystal/examples/Cursor/Cursor.ino
libraries/LiquidCrystal/examples/Scroll/Scroll.ino
libraries/Stepper/examples/MotorKnob/MotorKnob.ino
libraries/TFT/examples/Arduino/TFTPong/TFTPong.ino
libraries/Ethernet/examples/WebClient/WebClient.ino
libraries/Ethernet/examples/WebServer/WebServer.ino
libraries/Firmata/examples/EchoString/EchoString.ino
libraries/Firmata/examples/I2CFirmata/I2CFirmata.ino
libraries/GSM/examples/GsmWebClient/GsmWebClient.ino
libraries/GSM/examples/GsmWebServer/GsmWebServer.ino
libraries/GSM/examples/Tools/TestModem/TestModem.ino
libraries/LiquidCrystal/examples/Display/Display.ino
libraries/Robot_Control/examples/learn/Beep/Beep.ino
libraries/TFT/examples/Arduino/TFTGraph/TFTGraph.ino
libraries/EEPROM/examples/eeprom_read/eeprom_read.ino
libraries/Ethernet/examples/ChatServer/ChatServer.ino
libraries/WiFi/examples/ScanNetworks/ScanNetworks.ino
libraries/Wire/examples/slave_sender/slave_sender.ino
libraries/Firmata/examples/StandardFirmata/LICENSE.txt
libraries/GSM/examples/MakeVoiceCall/MakeVoiceCall.ino
libraries/EEPROM/examples/eeprom_clear/eeprom_clear.ino
libraries/EEPROM/examples/eeprom_write/eeprom_write.ino
libraries/WiFi/examples/WiFiWebClient/WiFiWebClient.ino
libraries/WiFi/examples/WiFiWebServer/WiFiWebServer.ino
libraries/Wire/examples/master_reader/master_reader.ino
libraries/Wire/examples/master_writer/master_writer.ino
libraries/Firmata/examples/ServoFirmata/ServoFirmata.ino
libraries/LiquidCrystal/examples/setCursor/setCursor.ino
libraries/Robot_Control/examples/learn/Melody/Melody.ino
libraries/TFT/examples/Arduino/TFTBitmapLogo/arduino.bmp
libraries/Ethernet/examples/TelnetClient/TelnetClient.ino
libraries/Ethernet/examples/UdpNtpClient/UdpNtpClient.ino
libraries/Firmata/examples/OldStandardFirmata/LICENSE.txt
libraries/WiFi/examples/ConnectWithWEP/ConnectWithWEP.ino
libraries/WiFi/examples/ConnectWithWPA/ConnectWithWPA.ino
libraries/WiFi/examples/WiFiChatServer/WiFiChatServer.ino
libraries/Wire/examples/slave_receiver/slave_receiver.ino
libraries/Firmata/examples/AnalogFirmata/AnalogFirmata.ino

drjiohnsmith

SO

how do we want to improve them ?

a standard format ?
  compatible with which version of the IDE ?

any suggestions on how we 'regression test them' ?
   do we branch the code ?

will the branch be bought back onto trunk, by who ?

GoForSmoke

I'd like to see errors and bad practices that new members learn taken out, starting with using long for time variables but mostly get the String use out and char arrays in.

I find it harder to express logic in English than in Code.
Sometimes an example says more than many times as many words.

Sergegsx


I'd like to see errors and bad practices that new members learn taken out, starting with using long for time variables but mostly get the String use out and char arrays in.


+1 !

Go Up