├── .gitattributes ├── .gitignore ├── .gitmodules ├── Hard_Iron_Offset_6dof_example └── Hard_Iron_Offset_6dof_example.ino ├── Katie └── Katie.ino ├── README.md ├── blank └── blank.ino ├── flight_telemetry └── flight_telemetry.ino ├── flight_telemetry2 └── flight_telemetry2.ino ├── flight_telemetry3 └── flight_telemetry3.ino ├── flight_telemetry4 └── flight_telemetry4.ino ├── index.html ├── javascripts └── scale.fix.js ├── libraries ├── Bildr_adxl345 │ ├── License.txt │ ├── Read_Me.txt │ ├── bildr_ADXL345.cpp │ ├── bildr_ADXL345.h │ └── examples │ │ └── ADXL345_Example │ │ └── ADXL345_Example.ino ├── DebugUtils │ ├── .bzr │ │ ├── README │ │ ├── branch-format │ │ ├── branch │ │ │ ├── branch.conf │ │ │ ├── format │ │ │ ├── last-revision │ │ │ └── tags │ │ ├── checkout │ │ │ ├── conflicts │ │ │ ├── dirstate │ │ │ ├── format │ │ │ └── views │ │ └── repository │ │ │ ├── format │ │ │ ├── indices │ │ │ ├── 8efda933b90a389ea14dc385a334afeb.cix │ │ │ ├── 8efda933b90a389ea14dc385a334afeb.iix │ │ │ ├── 8efda933b90a389ea14dc385a334afeb.rix │ │ │ ├── 8efda933b90a389ea14dc385a334afeb.six │ │ │ └── 8efda933b90a389ea14dc385a334afeb.tix │ │ │ ├── pack-names │ │ │ └── packs │ │ │ └── 8efda933b90a389ea14dc385a334afeb.pack │ └── DebugUtils.h ├── EasyTransfer │ ├── EasyTransfer.cpp │ ├── EasyTransfer.h │ ├── examples │ │ ├── EasyTransfer_RX_Example │ │ │ └── EasyTransfer_RX_Example.pde │ │ └── EasyTransfer_TX_Example │ │ │ └── EasyTransfer_TX_Example.pde │ └── keywords.txt ├── Fastwire │ ├── .svn │ │ ├── all-wcprops │ │ ├── entries │ │ └── text-base │ │ │ ├── Fastwire.cpp.svn-base │ │ │ └── Fastwire.h.svn-base │ ├── Fastwire.cpp │ └── Fastwire.h ├── FreeIMU │ ├── CommunicationUtils.cpp │ ├── CommunicationUtils.h │ ├── FreeIMU.cpp │ ├── FreeIMU.h │ ├── FreeIMU.h.gch │ ├── FreeIMU.h~ │ ├── LICENSE.txt │ └── examples │ │ ├── FreeIMU_quaternion │ │ └── FreeIMU_quaternion.pde │ │ ├── FreeIMU_raw │ │ └── FreeIMU_raw.pde │ │ ├── FreeIMU_speedtest │ │ └── FreeIMU_speedtest.pde │ │ └── FreeIMU_yaw_pitch_roll │ │ └── FreeIMU_yaw_pitch_roll.pde ├── HMC │ ├── HMC.cpp │ ├── HMC.h │ ├── HMC_test │ │ └── HMC_test.pde │ └── keywords.txt ├── HMC5883L │ ├── HMC5883L.cpp │ ├── HMC5883L.h │ ├── HMC5883L_Example │ │ └── HMC5883L_Example.pde │ └── keywords.txt ├── HMC58X3 │ ├── .bzr │ │ ├── README │ │ ├── branch-format │ │ ├── branch │ │ │ ├── branch.conf │ │ │ ├── format │ │ │ ├── last-revision │ │ │ └── tags │ │ ├── checkout │ │ │ ├── conflicts │ │ │ ├── dirstate │ │ │ ├── format │ │ │ ├── merge-hashes │ │ │ └── views │ │ └── repository │ │ │ ├── format │ │ │ ├── indices │ │ │ ├── 596bd1a93273ed77e909ef16a2b196c4.cix │ │ │ ├── 596bd1a93273ed77e909ef16a2b196c4.iix │ │ │ ├── 596bd1a93273ed77e909ef16a2b196c4.rix │ │ │ ├── 596bd1a93273ed77e909ef16a2b196c4.six │ │ │ ├── 596bd1a93273ed77e909ef16a2b196c4.tix │ │ │ ├── 604cf5974ecdd7757ecf81a95ffe57b8.cix │ │ │ ├── 604cf5974ecdd7757ecf81a95ffe57b8.iix │ │ │ ├── 604cf5974ecdd7757ecf81a95ffe57b8.rix │ │ │ ├── 604cf5974ecdd7757ecf81a95ffe57b8.six │ │ │ ├── 604cf5974ecdd7757ecf81a95ffe57b8.tix │ │ │ ├── de99a66b1f6127fc4f923ed90a4eeb03.cix │ │ │ ├── de99a66b1f6127fc4f923ed90a4eeb03.iix │ │ │ ├── de99a66b1f6127fc4f923ed90a4eeb03.rix │ │ │ ├── de99a66b1f6127fc4f923ed90a4eeb03.six │ │ │ ├── de99a66b1f6127fc4f923ed90a4eeb03.tix │ │ │ ├── f7816f4e08b3ca09e31bfadaaa72e828.cix │ │ │ ├── f7816f4e08b3ca09e31bfadaaa72e828.iix │ │ │ ├── f7816f4e08b3ca09e31bfadaaa72e828.rix │ │ │ ├── f7816f4e08b3ca09e31bfadaaa72e828.six │ │ │ └── f7816f4e08b3ca09e31bfadaaa72e828.tix │ │ │ ├── pack-names │ │ │ └── packs │ │ │ ├── 596bd1a93273ed77e909ef16a2b196c4.pack │ │ │ ├── 604cf5974ecdd7757ecf81a95ffe57b8.pack │ │ │ ├── de99a66b1f6127fc4f923ed90a4eeb03.pack │ │ │ └── f7816f4e08b3ca09e31bfadaaa72e828.pack │ ├── HMC58X3.cpp │ ├── HMC58X3.h │ ├── INSTALL.txt │ ├── LICENSE.txt │ ├── examples │ │ ├── HMC58X3_basic │ │ │ └── HMC58X3_basic.pde │ │ ├── HMC58X3_raw │ │ │ └── HMC58X3_raw.pde │ │ ├── HMC58X3_registers_scan │ │ │ └── HMC58X3_registers_scan.pde │ │ └── HMC58X3_testcal │ │ │ └── HMC58X3_testcal.pde │ └── help.me ├── I2Cdev │ ├── I2Cdev.cpp │ └── I2Cdev.h ├── I2cMaster │ ├── I2cMaster.cpp │ ├── I2cMaster.h │ ├── TwiMap.h │ └── examples │ │ ├── i2cScanAddress │ │ └── i2cScanAddress.pde │ │ ├── i2cScopeTest │ │ └── i2cScopeTest.pde │ │ └── softDS1307 │ │ └── softDS1307.pde ├── MAX6675 │ ├── examples │ │ ├── lcdthermocouple │ │ │ └── lcdthermocouple.pde │ │ └── serialthermocouple │ │ │ └── serialthermocouple.pde │ ├── keywords.txt │ ├── max6675.cpp │ └── max6675.h ├── MPU6050 │ ├── Examples │ │ └── MPU6050_raw │ │ │ └── MPU6050_raw.ino │ ├── MPU6050.cpp │ └── MPU6050.h ├── MS561101BA │ ├── .bzr │ │ ├── README │ │ ├── branch-format │ │ ├── branch │ │ │ ├── branch.conf │ │ │ ├── format │ │ │ ├── last-revision │ │ │ └── tags │ │ ├── checkout │ │ │ ├── conflicts │ │ │ ├── dirstate │ │ │ ├── format │ │ │ └── views │ │ └── repository │ │ │ ├── format │ │ │ ├── indices │ │ │ ├── 583b77052c0f2776d214fbc51f58a718.cix │ │ │ ├── 583b77052c0f2776d214fbc51f58a718.iix │ │ │ ├── 583b77052c0f2776d214fbc51f58a718.rix │ │ │ ├── 583b77052c0f2776d214fbc51f58a718.six │ │ │ ├── 583b77052c0f2776d214fbc51f58a718.tix │ │ │ ├── aa13626422837ebb40c3076a7cb28a06.cix │ │ │ ├── aa13626422837ebb40c3076a7cb28a06.iix │ │ │ ├── aa13626422837ebb40c3076a7cb28a06.rix │ │ │ ├── aa13626422837ebb40c3076a7cb28a06.six │ │ │ ├── aa13626422837ebb40c3076a7cb28a06.tix │ │ │ ├── e7ce59ac6c57aaffffed2fb515dfc320.cix │ │ │ ├── e7ce59ac6c57aaffffed2fb515dfc320.iix │ │ │ ├── e7ce59ac6c57aaffffed2fb515dfc320.rix │ │ │ ├── e7ce59ac6c57aaffffed2fb515dfc320.six │ │ │ ├── e7ce59ac6c57aaffffed2fb515dfc320.tix │ │ │ ├── eeae137fc9a33bfc931f40564cfb1856.cix │ │ │ ├── eeae137fc9a33bfc931f40564cfb1856.iix │ │ │ ├── eeae137fc9a33bfc931f40564cfb1856.rix │ │ │ ├── eeae137fc9a33bfc931f40564cfb1856.six │ │ │ └── eeae137fc9a33bfc931f40564cfb1856.tix │ │ │ ├── obsolete_packs │ │ │ ├── 008b692ff30f62ec95fdb7a876a2cc96.cix │ │ │ ├── 008b692ff30f62ec95fdb7a876a2cc96.iix │ │ │ ├── 008b692ff30f62ec95fdb7a876a2cc96.pack │ │ │ ├── 008b692ff30f62ec95fdb7a876a2cc96.rix │ │ │ ├── 008b692ff30f62ec95fdb7a876a2cc96.six │ │ │ ├── 008b692ff30f62ec95fdb7a876a2cc96.tix │ │ │ ├── 0e5b85399fc8bd3747d173467ee86734.cix │ │ │ ├── 0e5b85399fc8bd3747d173467ee86734.iix │ │ │ ├── 0e5b85399fc8bd3747d173467ee86734.pack │ │ │ ├── 0e5b85399fc8bd3747d173467ee86734.rix │ │ │ ├── 0e5b85399fc8bd3747d173467ee86734.six │ │ │ ├── 0e5b85399fc8bd3747d173467ee86734.tix │ │ │ ├── 28141448b4dbd26b945f63b7ac9a97e7.cix │ │ │ ├── 28141448b4dbd26b945f63b7ac9a97e7.iix │ │ │ ├── 28141448b4dbd26b945f63b7ac9a97e7.pack │ │ │ ├── 28141448b4dbd26b945f63b7ac9a97e7.rix │ │ │ ├── 28141448b4dbd26b945f63b7ac9a97e7.six │ │ │ ├── 28141448b4dbd26b945f63b7ac9a97e7.tix │ │ │ ├── 5135d8dec2609d9069cccb8f3ca8a8cb.cix │ │ │ ├── 5135d8dec2609d9069cccb8f3ca8a8cb.iix │ │ │ ├── 5135d8dec2609d9069cccb8f3ca8a8cb.pack │ │ │ ├── 5135d8dec2609d9069cccb8f3ca8a8cb.rix │ │ │ ├── 5135d8dec2609d9069cccb8f3ca8a8cb.six │ │ │ ├── 5135d8dec2609d9069cccb8f3ca8a8cb.tix │ │ │ ├── 5230f19d71ec667e5b9516a054b6b3d1.cix │ │ │ ├── 5230f19d71ec667e5b9516a054b6b3d1.iix │ │ │ ├── 5230f19d71ec667e5b9516a054b6b3d1.pack │ │ │ ├── 5230f19d71ec667e5b9516a054b6b3d1.rix │ │ │ ├── 5230f19d71ec667e5b9516a054b6b3d1.six │ │ │ ├── 5230f19d71ec667e5b9516a054b6b3d1.tix │ │ │ ├── 8dad72563405e9bf1cb7b957f94663d9.cix │ │ │ ├── 8dad72563405e9bf1cb7b957f94663d9.iix │ │ │ ├── 8dad72563405e9bf1cb7b957f94663d9.pack │ │ │ ├── 8dad72563405e9bf1cb7b957f94663d9.rix │ │ │ ├── 8dad72563405e9bf1cb7b957f94663d9.six │ │ │ ├── 8dad72563405e9bf1cb7b957f94663d9.tix │ │ │ ├── b7c14c16442d5d5517de0a73966b74ec.cix │ │ │ ├── b7c14c16442d5d5517de0a73966b74ec.iix │ │ │ ├── b7c14c16442d5d5517de0a73966b74ec.pack │ │ │ ├── b7c14c16442d5d5517de0a73966b74ec.rix │ │ │ ├── b7c14c16442d5d5517de0a73966b74ec.six │ │ │ ├── b7c14c16442d5d5517de0a73966b74ec.tix │ │ │ ├── b9e15ff90a1843cc73701de3fc796af5.cix │ │ │ ├── b9e15ff90a1843cc73701de3fc796af5.iix │ │ │ ├── b9e15ff90a1843cc73701de3fc796af5.pack │ │ │ ├── b9e15ff90a1843cc73701de3fc796af5.rix │ │ │ ├── b9e15ff90a1843cc73701de3fc796af5.six │ │ │ ├── b9e15ff90a1843cc73701de3fc796af5.tix │ │ │ ├── ba4a951ce21a260fb2fa0c3bad1b9d3c.cix │ │ │ ├── ba4a951ce21a260fb2fa0c3bad1b9d3c.iix │ │ │ ├── ba4a951ce21a260fb2fa0c3bad1b9d3c.pack │ │ │ ├── ba4a951ce21a260fb2fa0c3bad1b9d3c.rix │ │ │ ├── ba4a951ce21a260fb2fa0c3bad1b9d3c.six │ │ │ ├── ba4a951ce21a260fb2fa0c3bad1b9d3c.tix │ │ │ ├── c6efa1d661e6663ca066b4e8e19f89f7.cix │ │ │ ├── c6efa1d661e6663ca066b4e8e19f89f7.iix │ │ │ ├── c6efa1d661e6663ca066b4e8e19f89f7.pack │ │ │ ├── c6efa1d661e6663ca066b4e8e19f89f7.rix │ │ │ ├── c6efa1d661e6663ca066b4e8e19f89f7.six │ │ │ └── c6efa1d661e6663ca066b4e8e19f89f7.tix │ │ │ ├── pack-names │ │ │ └── packs │ │ │ ├── 583b77052c0f2776d214fbc51f58a718.pack │ │ │ ├── aa13626422837ebb40c3076a7cb28a06.pack │ │ │ ├── e7ce59ac6c57aaffffed2fb515dfc320.pack │ │ │ └── eeae137fc9a33bfc931f40564cfb1856.pack │ ├── INSTALL.txt │ ├── LICENSE.txt │ ├── MS561101BA.cpp │ ├── MS561101BA.h │ └── examples │ │ ├── MS561101BA_altitude │ │ └── MS561101BA_altitude.pde │ │ ├── MS561101BA_movaverage │ │ └── MS561101BA_movaverage.pde │ │ ├── MS561101BA_regscan │ │ └── MS561101BA_regscan.pde │ │ └── MS561101BA_simple │ │ └── MS561101BA_simple.pde ├── PID_v1 │ ├── Examples │ │ ├── PID_AdaptiveTunings │ │ │ └── PID_AdaptiveTunings.pde │ │ ├── PID_Basic │ │ │ └── PID_Basic.pde │ │ └── PID_RelayOutput │ │ │ └── PID_RelayOutput.pde │ ├── PID_v1.cpp │ ├── PID_v1.h │ └── keywords.txt ├── RTClib │ ├── RTClib.cpp │ ├── RTClib.h │ ├── examples │ │ ├── datecalc │ │ │ └── datecalc.pde │ │ ├── ds1307 │ │ │ └── ds1307.pde │ │ └── softrtc │ │ │ └── softrtc.pde │ └── keywords.txt ├── SD │ ├── File.cpp │ ├── README.txt │ ├── SD.cpp │ ├── SD.h │ ├── examples │ │ ├── CardInfo │ │ │ └── CardInfo.ino │ │ ├── Datalogger │ │ │ └── Datalogger.ino │ │ ├── DumpFile │ │ │ └── DumpFile.ino │ │ ├── Files │ │ │ └── Files.ino │ │ ├── ReadWrite │ │ │ └── ReadWrite.ino │ │ └── listfiles │ │ │ └── listfiles.ino │ ├── keywords.txt │ └── utility │ │ ├── FatStructs.h │ │ ├── Sd2Card.cpp │ │ ├── Sd2Card.h │ │ ├── Sd2PinMap.h │ │ ├── SdFat.h │ │ ├── SdFatUtil.h │ │ ├── SdFatmainpage.h │ │ ├── SdFile.cpp │ │ ├── SdInfo.h │ │ └── SdVolume.cpp ├── SdFat │ ├── ArduinoStream.h │ ├── PreVer100Pins.h │ ├── Sd2Card.cpp │ ├── Sd2Card.h │ ├── Sd2PinMap.h │ ├── SdBaseFile.cpp │ ├── SdBaseFile.h │ ├── SdFat.cpp │ ├── SdFat.h │ ├── SdFatConfig.h │ ├── SdFatStructs.h │ ├── SdFatUtil.cpp │ ├── SdFatUtil.h │ ├── SdFatmainpage.h │ ├── SdFile.cpp │ ├── SdFile.h │ ├── SdInfo.h │ ├── SdStream.cpp │ ├── SdStream.h │ ├── SdVolume.cpp │ ├── SdVolume.h │ ├── bufstream.h │ ├── examples │ │ ├── AnalogLogger │ │ │ └── AnalogLogger.pde │ │ ├── HelloWorld │ │ │ └── HelloWorld.pde │ │ ├── OpenNext │ │ │ └── OpenNext.pde │ │ ├── QuickStart │ │ │ └── QuickStart.pde │ │ ├── ReadWriteSdFat │ │ │ └── ReadWriteSdFat.pde │ │ ├── SD_Size │ │ │ └── SD_Size.pde │ │ ├── SdFatSize │ │ │ └── SdFatSize.pde │ │ ├── SdInfo │ │ │ └── SdInfo.pde │ │ ├── SerialDataSource │ │ │ └── SerialDataSource.pde │ │ ├── SerialPortLogger │ │ │ └── SerialPortLogger.pde │ │ ├── TwoCards │ │ │ └── TwoCards.pde │ │ ├── append │ │ │ └── append.pde │ │ ├── average │ │ │ └── average.pde │ │ ├── bench │ │ │ └── bench.pde │ │ ├── bufstream │ │ │ └── bufstream.pde │ │ ├── cin_cout │ │ │ └── cin_cout.pde │ │ ├── eventlog │ │ │ └── eventlog.pde │ │ ├── fgets │ │ │ └── fgets.pde │ │ ├── formatting │ │ │ └── formatting.pde │ │ ├── getline │ │ │ └── getline.pde │ │ ├── readCSV │ │ │ └── readCSV.pde │ │ ├── readlog │ │ │ └── readlog.pde │ │ └── rename │ │ │ └── rename.pde │ ├── ios.h │ ├── iostream.h │ ├── istream.cpp │ ├── istream.h │ ├── ostream.cpp │ └── ostream.h ├── SerialPortBeta │ ├── HowTo.txt │ ├── SerialPort.html │ ├── SerialPort │ │ ├── SerialPort.cpp │ │ ├── SerialPort.h │ │ └── examples │ │ │ ├── ArduinoSize │ │ │ ├── ArduinoSize.pde │ │ │ └── FreeRam.h │ │ │ ├── ArduinoTest │ │ │ └── ArduinoTest.pde │ │ │ ├── BufferedSize │ │ │ ├── BufferedSize.pde │ │ │ └── FreeRam.h │ │ │ ├── BufferedTest │ │ │ └── BufferedTest.pde │ │ │ ├── HelloWorld │ │ │ └── HelloWorld.pde │ │ │ ├── MegaTest │ │ │ └── MegaTest.pde │ │ │ ├── MegaTestArduino │ │ │ └── MegaTestArduino.pde │ │ │ ├── ReadWriteTest │ │ │ └── ReadWriteTest.pde │ │ │ ├── UnbufferedSize │ │ │ ├── FreeRam.h │ │ │ └── UnbufferedSize.pde │ │ │ ├── UnbufferedTest │ │ │ └── UnbufferedTest.pde │ │ │ └── WriteFlash │ │ │ └── WriteFlash.pde │ ├── changes.txt │ ├── html │ │ ├── _serial_port_8h.html │ │ ├── annotated.html │ │ ├── bc_s.png │ │ ├── class_serial_port-members.html │ │ ├── class_serial_port.html │ │ ├── class_serial_ring_buffer-members.html │ │ ├── class_serial_ring_buffer.html │ │ ├── class_usart_register-members.html │ │ ├── classes.html │ │ ├── closed.png │ │ ├── doxygen.css │ │ ├── doxygen.png │ │ ├── files.html │ │ ├── functions.html │ │ ├── functions_func.html │ │ ├── functions_type.html │ │ ├── functions_vars.html │ │ ├── globals.html │ │ ├── globals_defs.html │ │ ├── globals_func.html │ │ ├── globals_vars.html │ │ ├── index.html │ │ ├── installdox │ │ ├── jquery.js │ │ ├── nav_f.png │ │ ├── nav_h.png │ │ ├── open.png │ │ ├── search │ │ │ ├── all_61.html │ │ │ ├── all_62.html │ │ │ ├── all_63.html │ │ │ ├── all_65.html │ │ │ ├── all_66.html │ │ │ ├── all_67.html │ │ │ ├── all_69.html │ │ │ ├── all_70.html │ │ │ ├── all_72.html │ │ │ ├── all_73.html │ │ │ ├── all_74.html │ │ │ ├── all_75.html │ │ │ ├── all_77.html │ │ │ ├── classes_73.html │ │ │ ├── classes_75.html │ │ │ ├── close.png │ │ │ ├── defines_61.html │ │ │ ├── defines_62.html │ │ │ ├── defines_65.html │ │ │ ├── defines_73.html │ │ │ ├── defines_75.html │ │ │ ├── files_73.html │ │ │ ├── functions_61.html │ │ │ ├── functions_62.html │ │ │ ├── functions_63.html │ │ │ ├── functions_65.html │ │ │ ├── functions_66.html │ │ │ ├── functions_67.html │ │ │ ├── functions_69.html │ │ │ ├── functions_70.html │ │ │ ├── functions_72.html │ │ │ ├── functions_77.html │ │ │ ├── mag_sel.png │ │ │ ├── nomatches.html │ │ │ ├── search.css │ │ │ ├── search.js │ │ │ ├── search_l.png │ │ │ ├── search_m.png │ │ │ ├── search_r.png │ │ │ ├── typedefs_62.html │ │ │ ├── variables_72.html │ │ │ ├── variables_73.html │ │ │ ├── variables_74.html │ │ │ └── variables_75.html │ │ ├── struct_usart_register.html │ │ ├── tab_a.png │ │ ├── tab_b.png │ │ ├── tab_h.png │ │ ├── tab_s.png │ │ └── tabs.css │ ├── readme.txt │ └── serialportdiff.txt ├── TinyGPS │ ├── Examples │ │ ├── simple_test │ │ │ └── simple_test.pde │ │ ├── static_test │ │ │ └── static_test.pde │ │ └── test_with_gps_device │ │ │ └── test_with_gps_device.pde │ ├── TinyGPS.cpp │ ├── TinyGPS.h │ └── keywords.txt ├── WaveHC │ ├── ArduinoPins.h │ ├── FatReader.cpp │ ├── FatReader.h │ ├── FatStructs.h │ ├── SdInfo.h │ ├── SdReader.cpp │ ├── SdReader.h │ ├── WaveHC.cpp │ ├── WaveHC.h │ ├── WavePinDefs.h │ ├── WaveUtil.cpp │ ├── WaveUtil.h │ ├── Wavemainpage.h │ ├── examples │ │ ├── PiSpeakHC │ │ │ └── PiSpeakHC.pde │ │ ├── SampleRateHC │ │ │ └── SampleRateHC.pde │ │ ├── SdReadTest │ │ │ └── SdReadTest.pde │ │ ├── SoftVolumeHC │ │ │ └── SoftVolumeHC.pde │ │ ├── daphc │ │ │ └── daphc.pde │ │ └── openByIndex │ │ │ └── openByIndex.pde │ └── mcpDac.h ├── adxl345driver │ ├── .svn │ │ ├── all-wcprops │ │ ├── entries │ │ ├── prop-base │ │ │ ├── ADXL345.cpp.svn-base │ │ │ ├── ADXL345.h.svn-base │ │ │ └── accel_cal.py.svn-base │ │ └── text-base │ │ │ ├── ADXL345.cpp.svn-base │ │ │ ├── ADXL345.h.svn-base │ │ │ └── accel_cal.py.svn-base │ ├── ADXL345.cpp │ ├── ADXL345.h │ ├── accel_cal.py │ └── examples │ │ ├── .svn │ │ ├── all-wcprops │ │ └── entries │ │ ├── ADXL345_run │ │ ├── .svn │ │ │ ├── all-wcprops │ │ │ ├── entries │ │ │ ├── prop-base │ │ │ │ ├── ADXL345_run.pde.svn-base │ │ │ │ ├── accel_cal.py.svn-base │ │ │ │ ├── cal.dat.svn-base │ │ │ │ └── cal1.dat.svn-base │ │ │ └── text-base │ │ │ │ ├── ADXL345_run.pde.svn-base │ │ │ │ ├── accel_cal.py.svn-base │ │ │ │ ├── cal.dat.svn-base │ │ │ │ └── cal1.dat.svn-base │ │ ├── ADXL345_run.pde │ │ ├── accel_cal.py │ │ ├── cal.dat │ │ └── cal1.dat │ │ └── ADXL345_test │ │ ├── .svn │ │ ├── all-wcprops │ │ ├── entries │ │ ├── prop-base │ │ │ └── ADXL345_test.pde.svn-base │ │ └── text-base │ │ │ └── ADXL345_test.pde.svn-base │ │ └── ADXL345_test.pde ├── bma180 │ ├── bma180.cpp │ ├── bma180.h │ ├── examples │ │ ├── BMA180_simple │ │ │ └── BMA180_simple.pde │ │ └── isr_read │ │ │ └── isr_read.pde │ └── keywords.txt ├── bmp085driver │ ├── .svn │ │ ├── all-wcprops │ │ ├── dir-prop-base │ │ ├── entries │ │ └── text-base │ │ │ ├── BMP085.cpp.svn-base │ │ │ ├── BMP085.h.svn-base │ │ │ ├── COPYING.LESSER.svn-base │ │ │ ├── COPYING.svn-base │ │ │ ├── INSTALL.txt.svn-base │ │ │ └── keywords.txt.svn-base │ ├── BMP085.cpp │ ├── BMP085.h │ ├── COPYING │ ├── COPYING.LESSER │ ├── INSTALL.txt │ ├── examples │ │ ├── .svn │ │ │ ├── all-wcprops │ │ │ └── entries │ │ ├── BMP085_output │ │ │ ├── .svn │ │ │ │ ├── all-wcprops │ │ │ │ ├── entries │ │ │ │ └── text-base │ │ │ │ │ └── BMP085_output.pde.svn-base │ │ │ └── BMP085_output.pde │ │ ├── BMP085_test1 │ │ │ ├── .svn │ │ │ │ ├── all-wcprops │ │ │ │ ├── entries │ │ │ │ └── text-base │ │ │ │ │ └── BMP085_test1.pde.svn-base │ │ │ └── BMP085_test1.pde │ │ └── BMP085_test2 │ │ │ ├── .svn │ │ │ ├── all-wcprops │ │ │ ├── entries │ │ │ └── text-base │ │ │ │ └── BMP085_test2.pde.svn-base │ │ │ └── BMP085_test2.pde │ └── keywords.txt ├── itg3200filv05 │ ├── .svn │ │ ├── all-wcprops │ │ ├── dir-prop-base │ │ ├── entries │ │ └── text-base │ │ │ ├── COPYING.LESSER.svn-base │ │ │ ├── COPYING.svn-base │ │ │ ├── INSTALL.txt.svn-base │ │ │ ├── ITG3200.cpp.svn-base │ │ │ ├── ITG3200.h.svn-base │ │ │ └── keywords.txt.svn-base │ ├── COPYING │ ├── COPYING.LESSER │ ├── INSTALL.txt │ ├── ITG3200.cpp │ ├── ITG3200.h │ ├── examples │ │ ├── .svn │ │ │ ├── all-wcprops │ │ │ └── entries │ │ ├── ITG3200_output │ │ │ ├── .svn │ │ │ │ ├── all-wcprops │ │ │ │ ├── entries │ │ │ │ └── text-base │ │ │ │ │ └── ITG3200_output.pde.svn-base │ │ │ └── ITG3200_output.pde │ │ └── ITG3200_test │ │ │ ├── .svn │ │ │ ├── all-wcprops │ │ │ ├── entries │ │ │ └── text-base │ │ │ │ └── ITG3200_test.pde.svn-base │ │ │ └── ITG3200_test.pde │ └── keywords.txt ├── love_ADXL345 │ ├── ADXL345_Example │ │ └── ADXL345_Example.pde │ ├── keywords.txt │ ├── love_ADXL345.cpp │ └── love_ADXL345.h └── sdfat │ ├── examples │ └── SdFormatter │ │ └── SdFormatter.pde │ └── html │ ├── class_print-members.html │ ├── class_print.html │ └── class_print__inherit__graph.png ├── params.json ├── reflow_oven ├── reflow_oven.ino └── reflow_oven.scc ├── stylesheets ├── pygment_trac.css └── styles.css └── tiltcompass ├── tiltcompass.ino └── tiltcompass.pde /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | *.sln merge=union 7 | *.csproj merge=union 8 | *.vbproj merge=union 9 | *.fsproj merge=union 10 | *.dbproj merge=union 11 | 12 | # Standard to msysgit 13 | *.doc diff=astextplain 14 | *.DOC diff=astextplain 15 | *.docx diff=astextplain 16 | *.DOCX diff=astextplain 17 | *.dot diff=astextplain 18 | *.DOT diff=astextplain 19 | *.pdf diff=astextplain 20 | *.PDF diff=astextplain 21 | *.rtf diff=astextplain 22 | *.RTF diff=astextplain 23 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | flight_telemetry/applet 2 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "libraries/Adafruit_GPS"] 2 | path = libraries/Adafruit_GPS 3 | url = git://github.com/adafruit/Adafruit-GPS-Library.git 4 | [submodule "libraries/Adafruit_BMP085"] 5 | path = libraries/Adafruit_BMP085 6 | url = git://github.com/adafruit/Adafruit-BMP085-Library.git 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Arduino Sketch Folder 2 | ===================== 3 | 4 | Sketches 5 | -------- 6 | * `arduino/flight_telemetry` Flight Telemetry for Project SAPHE 7 | * Arduino MEGA 2560 8 | * [Sparkfun] (http://www.sparkfun.com/products/9694) BMP085 Barometric Pressure / Temperature / Altitude sensor 9 | * [Adafruit] (http://www.adafruit.com/products/243) Datalogger Shield 10 | * [Adafruit] (https://www.adafruit.com/products/757) logic level converter 11 | * [Adafruit] (https://www.adafruit.com/products/372) 10k thermistor 12 | * [Adafruit] (https://www.adafruit.com/products/746) Ultimate GPS (high altitude?) 13 | * [Adafruit] (https://www.adafruit.com/products/358) 1.8" tft lcd 14 | 15 | * `arduino/reflow_oven` Solder reflow oven controller 16 | * [Black and Decker] (http://www.amazon.com/Black-Decker-FC300-Infrawave-Oven/dp/B001AX8F4Y/ref=sr_1_2?ie=UTF8&qid=1336673199&sr=8-2) Infrawave Oven 17 | * [Adafruit] (http://www.adafruit.com/products/269) MAX6675 Thermocouple Amplifier 18 | * [Adafruit] (http://www.adafruit.com/products/270) Thermocouple Type K 19 | * [Sparkfun] (http://www.sparkfun.com/products/709) 16x2 LCD (HD44780 chipset) 20 | 21 | 22 | Libraries 23 | --------- 24 | * `arduino/libraries/Adafruit_BMP085` BMP085 Barometer/Thermometer library from Adafruit 25 | * `arduino/libraries/Adafruit_GFX` 1.8 Color TFT Graphics library from Adafruit 26 | * `arduino/libraries/Adafruit_GPS` Ultimate GPS Shield library from Adafruit 27 | * `arduino/libraries/Adafruit_ST7735` 1.8 Color TFT Driver library from Adafruit 28 | * `arduino/libraries/ADXL345` ADXL345 Accelerometer library 29 | * `arduino/libraries/MAX6675` Thermocouple library 30 | * `arduino/libraries/RTClib` DS1307 real time clock library 31 | * `arduino/libraries/SD` SD card library from Adafruit 32 | * `arduino/libraries/TinyGPS` Generic Serial GPS library 33 | * `arduino/libraries/PID_v1` PID library (Error Calc) -------------------------------------------------------------------------------- /blank/blank.ino: -------------------------------------------------------------------------------- 1 | //blank sketch 2 | void setup(){} 3 | void loop() {} 4 | -------------------------------------------------------------------------------- /javascripts/scale.fix.js: -------------------------------------------------------------------------------- 1 | var metas = document.getElementsByTagName('meta'); 2 | var i; 3 | if (navigator.userAgent.match(/iPhone/i)) { 4 | for (i=0; i Arduino -> libraries 11 | On your Linux box: (home directory)/sketchbook/libraries -------------------------------------------------------------------------------- /libraries/DebugUtils/.bzr/README: -------------------------------------------------------------------------------- 1 | This is a Bazaar control directory. 2 | Do not change any files in this directory. 3 | See http://bazaar.canonical.com/ for more information about Bazaar. 4 | -------------------------------------------------------------------------------- /libraries/DebugUtils/.bzr/branch-format: -------------------------------------------------------------------------------- 1 | Bazaar-NG meta directory, format 1 2 | -------------------------------------------------------------------------------- /libraries/DebugUtils/.bzr/branch/branch.conf: -------------------------------------------------------------------------------- 1 | push_location = sftp://varesano@varesano.net/~/repository/DebugUtils/ 2 | -------------------------------------------------------------------------------- /libraries/DebugUtils/.bzr/branch/format: -------------------------------------------------------------------------------- 1 | Bazaar Branch Format 7 (needs bzr 1.6) 2 | -------------------------------------------------------------------------------- /libraries/DebugUtils/.bzr/branch/last-revision: -------------------------------------------------------------------------------- 1 | 1 fvaresano@yahoo.it-20110517153302-i4h4fsjdif98b4rr 2 | -------------------------------------------------------------------------------- /libraries/DebugUtils/.bzr/branch/tags: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/DebugUtils/.bzr/branch/tags -------------------------------------------------------------------------------- /libraries/DebugUtils/.bzr/checkout/conflicts: -------------------------------------------------------------------------------- 1 | BZR conflict list format 1 2 | -------------------------------------------------------------------------------- /libraries/DebugUtils/.bzr/checkout/dirstate: -------------------------------------------------------------------------------- 1 | #bazaar dirstate flat format 3 2 | crc32: -446373789 3 | num_entries: 2 4 | 1fvaresano@yahoo.it-20110517153302-i4h4fsjdif98b4rr 5 | 0 6 | tree_root-20110517153242-am3s6utyzr8t95ot-1d0nAAAQAE3SlRpN0pUaAAAIBwAiwRgAAEHtd0nfvaresano@yahoo.it-20110517153302-i4h4fsjdif98b4rr 7 | DebugUtils.hdebugutils.h-20110517153253-iju7zqqd7zap3kix-1f147b318e547e3db29c5aa06a2f9e6d1d2a965e421305nAAAFGUz41ztN0pSiAAAIBwAmsKcAAIGkf147b318e547e3db29c5aa06a2f9e6d1d2a965e421305nfvaresano@yahoo.it-20110517153302-i4h4fsjdif98b4rr 8 | -------------------------------------------------------------------------------- /libraries/DebugUtils/.bzr/checkout/format: -------------------------------------------------------------------------------- 1 | Bazaar Working Tree Format 6 (bzr 1.14) 2 | -------------------------------------------------------------------------------- /libraries/DebugUtils/.bzr/checkout/views: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/DebugUtils/.bzr/checkout/views -------------------------------------------------------------------------------- /libraries/DebugUtils/.bzr/repository/format: -------------------------------------------------------------------------------- 1 | Bazaar repository format 2a (needs bzr 1.16 or later) 2 | -------------------------------------------------------------------------------- /libraries/DebugUtils/.bzr/repository/indices/8efda933b90a389ea14dc385a334afeb.cix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/DebugUtils/.bzr/repository/indices/8efda933b90a389ea14dc385a334afeb.cix -------------------------------------------------------------------------------- /libraries/DebugUtils/.bzr/repository/indices/8efda933b90a389ea14dc385a334afeb.iix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/DebugUtils/.bzr/repository/indices/8efda933b90a389ea14dc385a334afeb.iix -------------------------------------------------------------------------------- /libraries/DebugUtils/.bzr/repository/indices/8efda933b90a389ea14dc385a334afeb.rix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/DebugUtils/.bzr/repository/indices/8efda933b90a389ea14dc385a334afeb.rix -------------------------------------------------------------------------------- /libraries/DebugUtils/.bzr/repository/indices/8efda933b90a389ea14dc385a334afeb.six: -------------------------------------------------------------------------------- 1 | B+Tree Graph Index 2 2 | node_ref_lists=0 3 | key_elements=1 4 | len=0 5 | row_lengths= 6 | -------------------------------------------------------------------------------- /libraries/DebugUtils/.bzr/repository/indices/8efda933b90a389ea14dc385a334afeb.tix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/DebugUtils/.bzr/repository/indices/8efda933b90a389ea14dc385a334afeb.tix -------------------------------------------------------------------------------- /libraries/DebugUtils/.bzr/repository/pack-names: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/DebugUtils/.bzr/repository/pack-names -------------------------------------------------------------------------------- /libraries/DebugUtils/.bzr/repository/packs/8efda933b90a389ea14dc385a334afeb.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/DebugUtils/.bzr/repository/packs/8efda933b90a389ea14dc385a334afeb.pack -------------------------------------------------------------------------------- /libraries/DebugUtils/DebugUtils.h: -------------------------------------------------------------------------------- 1 | /* 2 | DebugUtils.h - Simple debugging utilities. 3 | Copyright (C) 2011 Fabio Varesano 4 | 5 | Ideas taken from: 6 | http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1271517197 7 | 8 | This program is free software: you can redistribute it and/or modify 9 | it under the terms of the version 3 GNU General Public License as 10 | published by the Free Software Foundation. 11 | 12 | This program is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | 20 | */ 21 | 22 | #ifndef DEBUGUTILS_H 23 | #define DEBUGUTILS_H 24 | 25 | #ifdef DEBUG_V 26 | #include 27 | #define DEBUG_PRINT(str) \ 28 | Serial.print(millis()); \ 29 | Serial.print(": "); \ 30 | Serial.print(__PRETTY_FUNCTION__); \ 31 | Serial.print(' '); \ 32 | Serial.print(__FILE__); \ 33 | Serial.print(':'); \ 34 | Serial.print(__LINE__); \ 35 | Serial.print(' '); \ 36 | Serial.println(str); 37 | #endif 38 | 39 | #ifdef DEBUG 40 | #define DEBUG_PRINT(str) \ 41 | Serial.println(str); 42 | #endif 43 | 44 | #ifndef DEBUG_PRINT 45 | #define DEBUG_PRINT(str) 46 | #endif 47 | 48 | 49 | #endif //DEBUGUTILS_H 50 | -------------------------------------------------------------------------------- /libraries/EasyTransfer/EasyTransfer.cpp: -------------------------------------------------------------------------------- 1 | #include "EasyTransfer.h" 2 | 3 | 4 | 5 | 6 | //Captures address and size of struct 7 | void EasyTransfer::begin(uint8_t * ptr, uint8_t length, HardwareSerial *theSerial){ 8 | address = ptr; 9 | size = length; 10 | _serial = theSerial; 11 | } 12 | 13 | //Sends out struct in binary, with header, length info and checksum 14 | void EasyTransfer::sendData(){ 15 | uint8_t CS = size; 16 | _serial->print(0x06, BYTE); 17 | _serial->print(0x85, BYTE); 18 | _serial->print(size, BYTE); 19 | for(int i = 0; iprint(*(address+i), BYTE); 22 | } 23 | _serial->print(CS); 24 | 25 | } 26 | 27 | boolean EasyTransfer::receiveData(){ 28 | 29 | if(rx_len == 0){ 30 | if(_serial->available() >= 3){ 31 | while(_serial->read() != 0x06) {} 32 | if (_serial->read() == 0x85){ 33 | rx_len = _serial->read(); 34 | if(rx_len != size){ 35 | rx_len = 0; 36 | return false; 37 | } 38 | } 39 | } 40 | } 41 | 42 | 43 | if(rx_len != 0){ 44 | while(_serial->available() && rx_array_inx <= rx_len){ 45 | rx_array[rx_array_inx++] = _serial->read(); 46 | } 47 | 48 | if(rx_len == (rx_array_inx-1)){ 49 | //seem to have got whole message 50 | //last uint8_t is CS 51 | calc_CS = rx_len; 52 | for (int i = 0; i 2 | 3 | //create object 4 | EasyTransfer ET; 5 | 6 | struct RECEIVE_DATA_STRUCTURE{ 7 | //put your variable definitions here for the data you want to receive 8 | //THIS MUST BE EXACTLY THE SAME ON THE OTHER ARDUINO 9 | int blinks; 10 | int pause; 11 | }; 12 | 13 | //give a name to the group of data 14 | RECEIVE_DATA_STRUCTURE mydata; 15 | 16 | void setup(){ 17 | Serial.begin(9600); 18 | //start the library, pass in the data details and the name of the serial port. Can be Serial, Serial1, Serial2, etc. 19 | ET.begin(details(mydata), &Serial); 20 | 21 | pinMode(13, OUTPUT); 22 | 23 | } 24 | 25 | void loop(){ 26 | //check and see if a data packet has come in. 27 | if(ET.receiveData()){ 28 | //this is how you access the variables. [name of the group].[variable name] 29 | //since we have data, we will blink it out. 30 | for(int i = mydata.blinks; i>0; i--){ 31 | digitalWrite(13, HIGH); 32 | delay(mydata.pause * 100); 33 | digitalWrite(13, LOW); 34 | delay(mydata.pause * 100); 35 | } 36 | } 37 | 38 | //you should make this delay shorter then your transmit delay or else messages could be lost 39 | delay(250); 40 | } 41 | -------------------------------------------------------------------------------- /libraries/EasyTransfer/examples/EasyTransfer_TX_Example/EasyTransfer_TX_Example.pde: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | //create object 4 | EasyTransfer ET; 5 | 6 | struct SEND_DATA_STRUCTURE{ 7 | //put your variable definitions here for the data you want to send 8 | //THIS MUST BE EXACTLY THE SAME ON THE OTHER ARDUINO 9 | int blinks; 10 | int pause; 11 | }; 12 | 13 | //give a name to the group of data 14 | SEND_DATA_STRUCTURE mydata; 15 | 16 | void setup(){ 17 | Serial.begin(9600); 18 | //start the library, pass in the data details and the name of the serial port. Can be Serial, Serial1, Serial2, etc. 19 | ET.begin(details(mydata), &Serial); 20 | 21 | pinMode(13, OUTPUT); 22 | 23 | randomSeed(analogRead(0)); 24 | 25 | } 26 | 27 | void loop(){ 28 | //this is how you access the variables. [name of the group].[variable name] 29 | mydata.blinks = random(5); 30 | mydata.pause = random(5); 31 | //send the data 32 | ET.sendData(); 33 | 34 | //Just for fun, we will blink it out too 35 | for(int i = mydata.blinks; i>0; i--){ 36 | digitalWrite(13, HIGH); 37 | delay(mydata.pause * 100); 38 | digitalWrite(13, LOW); 39 | delay(mydata.pause * 100); 40 | } 41 | 42 | delay(5000); 43 | } 44 | -------------------------------------------------------------------------------- /libraries/EasyTransfer/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map EasyTransfer 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | EasyTransfer KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | Button KEYWORD2 15 | sendData KEYWORD2 16 | receiveData KEYWORD2 17 | init KEYWORD2 18 | 19 | 20 | ####################################### 21 | # Constants (LITERAL1) 22 | ####################################### 23 | details LITERAL1 24 | -------------------------------------------------------------------------------- /libraries/Fastwire/.svn/all-wcprops: -------------------------------------------------------------------------------- 1 | K 25 2 | svn:wc:ra_dav:version-url 3 | V 40 4 | /svn/!svn/ver/3/trunk/libraries/fastwire 5 | END 6 | Fastwire.cpp 7 | K 25 8 | svn:wc:ra_dav:version-url 9 | V 53 10 | /svn/!svn/ver/3/trunk/libraries/fastwire/Fastwire.cpp 11 | END 12 | Fastwire.h 13 | K 25 14 | svn:wc:ra_dav:version-url 15 | V 51 16 | /svn/!svn/ver/3/trunk/libraries/fastwire/Fastwire.h 17 | END 18 | -------------------------------------------------------------------------------- /libraries/Fastwire/.svn/entries: -------------------------------------------------------------------------------- 1 | 10 2 | 3 | dir 4 | 20 5 | https://simplo.googlecode.com/svn/trunk/libraries/fastwire 6 | https://simplo.googlecode.com/svn 7 | 8 | 9 | 10 | 2011-03-20T11:11:28.245464Z 11 | 3 12 | occhiobello@gmail.com 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 1d769ab3-c26f-2fe2-2dfc-8c376da331ea 28 | 29 | Fastwire.cpp 30 | file 31 | 32 | 33 | 34 | 35 | 2011-11-09T13:07:11.000000Z 36 | 65b7c6cd4ec5910fcedab783c0e9c6b7 37 | 2011-03-20T11:11:28.245464Z 38 | 3 39 | occhiobello@gmail.com 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 3440 62 | 63 | Fastwire.h 64 | file 65 | 66 | 67 | 68 | 69 | 2011-11-09T13:07:11.000000Z 70 | c6caf9d10fc828d7a7d4c143a153b53d 71 | 2011-03-20T11:11:28.245464Z 72 | 3 73 | occhiobello@gmail.com 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 841 96 | 97 | -------------------------------------------------------------------------------- /libraries/Fastwire/.svn/text-base/Fastwire.h.svn-base: -------------------------------------------------------------------------------- 1 | // I2C library 2 | ////////////////////// 3 | // Copyright(C) 2011 4 | // Francesco Ferrara 5 | ////////////////////// 6 | 7 | 8 | #ifndef H_FASTWIRE 9 | #define H_FASTWIRE 10 | 11 | #include "WProgram.h" 12 | 13 | /* Master */ 14 | #define TW_START 0x08 15 | #define TW_REP_START 0x10 16 | /* Master Transmitter */ 17 | #define TW_MT_SLA_ACK 0x18 18 | #define TW_MT_SLA_NACK 0x20 19 | #define TW_MT_DATA_ACK 0x28 20 | #define TW_MT_DATA_NACK 0x30 21 | #define TW_MT_ARB_LOST 0x38 22 | /* Master Receiver */ 23 | #define TW_MR_ARB_LOST 0x38 24 | #define TW_MR_SLA_ACK 0x40 25 | #define TW_MR_SLA_NACK 0x48 26 | #define TW_MR_DATA_ACK 0x50 27 | #define TW_MR_DATA_NACK 0x58 28 | 29 | class Fastwire 30 | { 31 | private: 32 | static boolean waitInt(); 33 | 34 | public: 35 | static void setup(int khz,boolean pullup); 36 | static byte write(byte device, byte address, byte value); 37 | static byte readBuf(byte device,byte address,byte *data,byte num); 38 | 39 | }; 40 | 41 | #endif 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /libraries/Fastwire/Fastwire.h: -------------------------------------------------------------------------------- 1 | // I2C library 2 | ////////////////////// 3 | // Copyright(C) 2011 4 | // Francesco Ferrara 5 | ////////////////////// 6 | 7 | 8 | #ifndef H_FASTWIRE 9 | #define H_FASTWIRE 10 | 11 | #include "WProgram.h" 12 | 13 | /* Master */ 14 | #define TW_START 0x08 15 | #define TW_REP_START 0x10 16 | /* Master Transmitter */ 17 | #define TW_MT_SLA_ACK 0x18 18 | #define TW_MT_SLA_NACK 0x20 19 | #define TW_MT_DATA_ACK 0x28 20 | #define TW_MT_DATA_NACK 0x30 21 | #define TW_MT_ARB_LOST 0x38 22 | /* Master Receiver */ 23 | #define TW_MR_ARB_LOST 0x38 24 | #define TW_MR_SLA_ACK 0x40 25 | #define TW_MR_SLA_NACK 0x48 26 | #define TW_MR_DATA_ACK 0x50 27 | #define TW_MR_DATA_NACK 0x58 28 | 29 | class Fastwire 30 | { 31 | private: 32 | static boolean waitInt(); 33 | 34 | public: 35 | static void setup(int khz,boolean pullup); 36 | static byte write(byte device, byte address, byte value); 37 | static byte readBuf(byte device,byte address,byte *data,byte num); 38 | 39 | }; 40 | 41 | #endif 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /libraries/FreeIMU/CommunicationUtils.cpp: -------------------------------------------------------------------------------- 1 | #include "CommunicationUtils.h" 2 | 3 | void serialPrintFloatArr(float * arr, int length) { 4 | for(int i=0; i> 4) & 0x0f; 16 | byte b2 = (b[i] & 0x0f); 17 | 18 | char c1 = (b1 < 10) ? ('0' + b1) : 'A' + b1 - 10; 19 | char c2 = (b2 < 10) ? ('0' + b2) : 'A' + b2 - 10; 20 | 21 | Serial.print(c1); 22 | Serial.print(c2); 23 | } 24 | } 25 | 26 | 27 | void writeArr(void * varr, uint8_t arr_length, uint8_t type_bytes) { 28 | byte * arr = (byte*) varr; 29 | for(uint8_t i=0; i 2 | #include 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | 9 | #define DEBUG 10 | #ifdef DEBUG 11 | #include "DebugUtils.h" 12 | #endif 13 | 14 | #include "CommunicationUtils.h" 15 | #include "FreeIMU.h" 16 | #include 17 | 18 | 19 | float q[4]; 20 | 21 | // Set the FreeIMU object 22 | FreeIMU my3IMU = FreeIMU(); 23 | 24 | void setup() { 25 | Serial.begin(115200); 26 | Wire.begin(); 27 | 28 | delay(5); 29 | my3IMU.init(); 30 | delay(5); 31 | } 32 | 33 | 34 | void loop() { 35 | my3IMU.getQ(q); 36 | serialPrintFloatArr(q, 4); 37 | Serial.println(""); 38 | delay(20); 39 | } 40 | 41 | -------------------------------------------------------------------------------- /libraries/FreeIMU/examples/FreeIMU_raw/FreeIMU_raw.pde: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | #include "I2Cdev.h" 7 | #include "MPU6050.h" 8 | 9 | //#define DEBUG 10 | #include "DebugUtils.h" 11 | 12 | 13 | #include "FreeIMU.h" 14 | #include 15 | 16 | int raw_values[11]; 17 | char str[512]; 18 | float val[9]; 19 | 20 | 21 | // Set the default object 22 | FreeIMU my3IMU = FreeIMU(); 23 | 24 | void setup() { 25 | Serial.begin(115200); 26 | Wire.begin(); 27 | 28 | delay(500); 29 | my3IMU.init(true); // the parameter enable or disable fast mode 30 | delay(500); 31 | } 32 | 33 | void loop() { 34 | my3IMU.getRawValues(raw_values); 35 | #if HAS_MS5611() 36 | // with baro 37 | sprintf(str, "%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d", raw_values[0], raw_values[1], raw_values[2], raw_values[3], raw_values[4], raw_values[5], raw_values[6], raw_values[7], raw_values[8], raw_values[9], raw_values[10]); 38 | #else 39 | // without baro 40 | sprintf(str, "%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t", raw_values[0], raw_values[1], raw_values[2], raw_values[3], raw_values[4], raw_values[5], raw_values[6], raw_values[7], raw_values[8]); 41 | #endif 42 | Serial.print(str); 43 | Serial.print('\n'); 44 | 45 | /* 46 | my3IMU.getValues(val); 47 | sprintf(str, "%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d", int(val[0]), int(val[1]), int(val[2]), int(val[3]), int(val[4]), int(val[5]), int(val[6]), int(val[7]), int(val[8])); 48 | Serial.print(str); 49 | Serial.print(10, BYTE); 50 | */ 51 | } 52 | 53 | -------------------------------------------------------------------------------- /libraries/FreeIMU/examples/FreeIMU_speedtest/FreeIMU_speedtest.pde: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | //#define DEBUG 6 | #include "DebugUtils.h" 7 | 8 | #include "FreeIMU.h" 9 | #include 10 | 11 | int raw_values[9]; 12 | char str[512]; 13 | float val[9], q[4]; 14 | 15 | unsigned long start, stop; 16 | 17 | // Set the default object 18 | FreeIMU my3IMU = FreeIMU(); 19 | 20 | void setup() { 21 | Serial.begin(115200); 22 | Wire.begin(); 23 | 24 | delay(500); 25 | my3IMU.init(true); // the parameter enable or disable fast mode 26 | delay(500); 27 | } 28 | 29 | void loop() { 30 | Serial.println("Testing raw reading speed (average on 1024 samples):"); 31 | start = micros(); 32 | for(int i=0; i<1024; i++) { 33 | my3IMU.getRawValues(raw_values); 34 | } 35 | stop = micros(); 36 | Serial.print("--> result: "); 37 | Serial.print((stop - start) / 1024); 38 | Serial.print(" microseconds .... "); 39 | Serial.print(((stop - start) / 1024) / 1000); 40 | Serial.println(" milliseconds"); 41 | 42 | 43 | Serial.println("Testing calibrated reading speed (average on 1024 samples):"); 44 | start = micros(); 45 | for(int i=0; i<1024; i++) { 46 | my3IMU.getValues(val); 47 | } 48 | stop = micros(); 49 | Serial.print("--> result: "); 50 | Serial.print((stop - start) / 1024); 51 | Serial.print(" microseconds .... "); 52 | Serial.print(((stop - start) / 1024) / 1000); 53 | Serial.println(" milliseconds"); 54 | 55 | 56 | Serial.println("Testing sensor fusion speed (average on 1024 samples):"); 57 | start = micros(); 58 | for(int i=0; i<1024; i++) { 59 | my3IMU.getQ(q); 60 | } 61 | stop = micros(); 62 | Serial.print("--> result: "); 63 | Serial.print((stop - start) / 1024); 64 | Serial.print(" microseconds .... "); 65 | Serial.print(((stop - start) / 1024) / 1000); 66 | Serial.println(" milliseconds"); 67 | 68 | 69 | Serial.println("Looping again.."); 70 | Serial.println("----"); 71 | } 72 | -------------------------------------------------------------------------------- /libraries/FreeIMU/examples/FreeIMU_yaw_pitch_roll/FreeIMU_yaw_pitch_roll.pde: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | 7 | //#define DEBUG 8 | #include "DebugUtils.h" 9 | 10 | #include "FreeIMU.h" 11 | #include "CommunicationUtils.h" 12 | #include 13 | 14 | int raw_values[9]; 15 | //char str[512]; 16 | float ypr[3]; // yaw pitch roll 17 | float val[9]; 18 | 19 | // Set the FreeIMU object 20 | FreeIMU my3IMU = FreeIMU(); 21 | 22 | void setup() { 23 | Serial.begin(115200); 24 | Wire.begin(); 25 | 26 | delay(5); 27 | my3IMU.init(); // the parameter enable or disable fast mode 28 | delay(5); 29 | } 30 | 31 | void loop() { 32 | 33 | my3IMU.getYawPitchRoll(ypr); 34 | Serial.print("Yaw: "); 35 | Serial.print(ypr[0]); 36 | Serial.print(" Pitch: "); 37 | Serial.print(ypr[1]); 38 | Serial.print(" Roll: "); 39 | Serial.print(ypr[2]); 40 | Serial.println(""); 41 | 42 | delay(10); 43 | } 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /libraries/HMC/HMC_test/HMC_test.pde: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int a; 4 | 5 | void setup() 6 | { 7 | Serial.begin(9600); 8 | } 9 | 10 | void loop() 11 | { 12 | int x,y,z; 13 | delay(100); // There will be new values every 100ms 14 | HMC.getValues(&x,&y,&z); 15 | Serial.print("x:"); 16 | Serial.print(x); 17 | Serial.print(" y:"); 18 | Serial.print(y); 19 | Serial.print(" z:"); 20 | Serial.println(z); 21 | 22 | HMC.getAngle(&a); 23 | Serial.println(a); 24 | } 25 | -------------------------------------------------------------------------------- /libraries/HMC/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For HMC 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | ####################################### 10 | # Methods and Functions (KEYWORD2) 11 | ####################################### 12 | 13 | init KEYWORD2 14 | getValues KEYWORD2 15 | 16 | ####################################### 17 | # Instances (KEYWORD2) 18 | ####################################### 19 | 20 | HMC KEYWORD2 21 | 22 | ####################################### 23 | # Constants (LITERAL1) 24 | ####################################### 25 | 26 | 27 | -------------------------------------------------------------------------------- /libraries/HMC5883L/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For Matrix 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | HMC5883L KEYWORD1 10 | MagnetometerRaw KEYWORD1 11 | MagnetometerScaled KEYWORD1 12 | 13 | ####################################### 14 | # Methods and Functions (KEYWORD2) 15 | ####################################### 16 | 17 | ReadRawAxis KEYWORD2 18 | ReadScaledAxis KEYWORD2 19 | SetMeasurementMode KEYWORD2 20 | SetScale KEYWORD2 21 | EnsureConnected KEYWORD2 22 | 23 | XAxis KEYWORD2 24 | YAxis KEYWORD2 25 | ZAxis KEYWORD2 26 | IsConnected KEYWORD2 27 | 28 | ####################################### 29 | # Constants (LITERAL1) 30 | ####################################### 31 | 32 | Measurement_Continuous LITERAL1 33 | Measurement_SingleShot LITERAL1 -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/README: -------------------------------------------------------------------------------- 1 | This is a Bazaar control directory. 2 | Do not change any files in this directory. 3 | See http://bazaar-vcs.org/ for more information about Bazaar. 4 | -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/branch-format: -------------------------------------------------------------------------------- 1 | Bazaar-NG meta directory, format 1 2 | -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/branch/branch.conf: -------------------------------------------------------------------------------- 1 | push_location = bzr+ssh://bazaar.launchpad.net/%2Bbranch/hmc58x3/ 2 | submit_branch = file:///home/fabio/Documents/Universita/stage_specialistica/arduino/exercises/fvlibraries/HMC58X3/ 3 | -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/branch/format: -------------------------------------------------------------------------------- 1 | Bazaar Branch Format 7 (needs bzr 1.6) 2 | -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/branch/last-revision: -------------------------------------------------------------------------------- 1 | 4 fvaresano@yahoo.it-20111205155215-05zjqdnm6l8zx97q 2 | -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/branch/tags: -------------------------------------------------------------------------------- 1 | d3:0.250:fvaresano@yahoo.it-20110426220136-1zamk9owxu52ilmz3:0.350:fvaresano@yahoo.it-20110427135834-srsvpieyo0qnmijx4:v0.150:fvaresano@yahoo.it-20110122162824-672zp5uhbqfot2ofe -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/checkout/conflicts: -------------------------------------------------------------------------------- 1 | BZR conflict list format 1 2 | -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/checkout/format: -------------------------------------------------------------------------------- 1 | Bazaar Working Tree Format 6 (bzr 1.14) 2 | -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/checkout/merge-hashes: -------------------------------------------------------------------------------- 1 | BZR merge-modified list format 1 2 | -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/checkout/views: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/HMC58X3/.bzr/checkout/views -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/format: -------------------------------------------------------------------------------- 1 | Bazaar repository format 2a (needs bzr 1.16 or later) 2 | -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/indices/596bd1a93273ed77e909ef16a2b196c4.cix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/HMC58X3/.bzr/repository/indices/596bd1a93273ed77e909ef16a2b196c4.cix -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/indices/596bd1a93273ed77e909ef16a2b196c4.iix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/HMC58X3/.bzr/repository/indices/596bd1a93273ed77e909ef16a2b196c4.iix -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/indices/596bd1a93273ed77e909ef16a2b196c4.rix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/HMC58X3/.bzr/repository/indices/596bd1a93273ed77e909ef16a2b196c4.rix -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/indices/596bd1a93273ed77e909ef16a2b196c4.six: -------------------------------------------------------------------------------- 1 | B+Tree Graph Index 2 2 | node_ref_lists=0 3 | key_elements=1 4 | len=0 5 | row_lengths= 6 | -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/indices/596bd1a93273ed77e909ef16a2b196c4.tix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/HMC58X3/.bzr/repository/indices/596bd1a93273ed77e909ef16a2b196c4.tix -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/indices/604cf5974ecdd7757ecf81a95ffe57b8.cix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/HMC58X3/.bzr/repository/indices/604cf5974ecdd7757ecf81a95ffe57b8.cix -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/indices/604cf5974ecdd7757ecf81a95ffe57b8.iix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/HMC58X3/.bzr/repository/indices/604cf5974ecdd7757ecf81a95ffe57b8.iix -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/indices/604cf5974ecdd7757ecf81a95ffe57b8.rix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/HMC58X3/.bzr/repository/indices/604cf5974ecdd7757ecf81a95ffe57b8.rix -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/indices/604cf5974ecdd7757ecf81a95ffe57b8.six: -------------------------------------------------------------------------------- 1 | B+Tree Graph Index 2 2 | node_ref_lists=0 3 | key_elements=1 4 | len=0 5 | row_lengths= 6 | -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/indices/604cf5974ecdd7757ecf81a95ffe57b8.tix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/HMC58X3/.bzr/repository/indices/604cf5974ecdd7757ecf81a95ffe57b8.tix -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/indices/de99a66b1f6127fc4f923ed90a4eeb03.cix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/HMC58X3/.bzr/repository/indices/de99a66b1f6127fc4f923ed90a4eeb03.cix -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/indices/de99a66b1f6127fc4f923ed90a4eeb03.iix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/HMC58X3/.bzr/repository/indices/de99a66b1f6127fc4f923ed90a4eeb03.iix -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/indices/de99a66b1f6127fc4f923ed90a4eeb03.rix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/HMC58X3/.bzr/repository/indices/de99a66b1f6127fc4f923ed90a4eeb03.rix -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/indices/de99a66b1f6127fc4f923ed90a4eeb03.six: -------------------------------------------------------------------------------- 1 | B+Tree Graph Index 2 2 | node_ref_lists=0 3 | key_elements=1 4 | len=0 5 | row_lengths= 6 | -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/indices/de99a66b1f6127fc4f923ed90a4eeb03.tix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/HMC58X3/.bzr/repository/indices/de99a66b1f6127fc4f923ed90a4eeb03.tix -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/indices/f7816f4e08b3ca09e31bfadaaa72e828.cix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/HMC58X3/.bzr/repository/indices/f7816f4e08b3ca09e31bfadaaa72e828.cix -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/indices/f7816f4e08b3ca09e31bfadaaa72e828.iix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/HMC58X3/.bzr/repository/indices/f7816f4e08b3ca09e31bfadaaa72e828.iix -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/indices/f7816f4e08b3ca09e31bfadaaa72e828.rix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/HMC58X3/.bzr/repository/indices/f7816f4e08b3ca09e31bfadaaa72e828.rix -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/indices/f7816f4e08b3ca09e31bfadaaa72e828.six: -------------------------------------------------------------------------------- 1 | B+Tree Graph Index 2 2 | node_ref_lists=0 3 | key_elements=1 4 | len=0 5 | row_lengths= 6 | -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/indices/f7816f4e08b3ca09e31bfadaaa72e828.tix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/HMC58X3/.bzr/repository/indices/f7816f4e08b3ca09e31bfadaaa72e828.tix -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/pack-names: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/HMC58X3/.bzr/repository/pack-names -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/packs/596bd1a93273ed77e909ef16a2b196c4.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/HMC58X3/.bzr/repository/packs/596bd1a93273ed77e909ef16a2b196c4.pack -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/packs/604cf5974ecdd7757ecf81a95ffe57b8.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/HMC58X3/.bzr/repository/packs/604cf5974ecdd7757ecf81a95ffe57b8.pack -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/packs/de99a66b1f6127fc4f923ed90a4eeb03.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/HMC58X3/.bzr/repository/packs/de99a66b1f6127fc4f923ed90a4eeb03.pack -------------------------------------------------------------------------------- /libraries/HMC58X3/.bzr/repository/packs/f7816f4e08b3ca09e31bfadaaa72e828.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/HMC58X3/.bzr/repository/packs/f7816f4e08b3ca09e31bfadaaa72e828.pack -------------------------------------------------------------------------------- /libraries/HMC58X3/INSTALL.txt: -------------------------------------------------------------------------------- 1 | Copy the whole directory which contain this file into the folder "libraries" inside the Arduino sketchbook folder. 2 | You can understand the location of your sketchbook folder from the Arduino IDE clicking on File -> Preferences: the "sketchbook location" is what you are looking for. 3 | In case you don't have an "libraries" folder there just create an empty one. 4 | 5 | For more informations see: 6 | http://www.arduino.cc/en/Reference/Libraries 7 | -------------------------------------------------------------------------------- /libraries/HMC58X3/examples/HMC58X3_raw/HMC58X3_raw.pde: -------------------------------------------------------------------------------- 1 | /* 2 | HMC58X3_basic.pde - Basic reading example for the HMC58X3 library 3 | Copyright (C) 2011 Fabio Varesano 4 | 5 | 6 | This program is free software: you can redistribute it and/or modify 7 | it under the terms of the version 3 GNU General Public License as 8 | published by the Free Software Foundation. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program. If not, see . 17 | 18 | */ 19 | 20 | // Uncomment the following line if you are using the HMC5843 21 | 22 | #include 23 | #include 24 | 25 | HMC58X3 magn; 26 | 27 | void setup(void) { 28 | Serial.begin(9600); 29 | Wire.begin(); 30 | 31 | // no delay needed as we have already a delay(5) in HMC58X3::init() 32 | magn.init(true); // Dont set mode yet, we'll do that later on. 33 | } 34 | 35 | void loop() { 36 | int ix,iy,iz; 37 | delay(10); 38 | // Get values, as ints and floats. 39 | magn.getRaw(&ix,&iy,&iz); 40 | 41 | Serial.print(ix); 42 | Serial.print(","); 43 | Serial.print(iy); 44 | Serial.print(","); 45 | Serial.print(iz); 46 | Serial.println(","); 47 | } -------------------------------------------------------------------------------- /libraries/HMC58X3/examples/HMC58X3_testcal/HMC58X3_testcal.pde: -------------------------------------------------------------------------------- 1 | /* 2 | HMC58X3_testcal.pde - Testing calibration 3 | Outputs raw data and offsetted data after calibration 4 | 5 | Copyright (C) 2011 Fabio Varesano 6 | 7 | Development of this code has been supported by the Department of Computer Science, 8 | Universita' degli Studi di Torino, Italy within the Piemonte Project 9 | http://www.piemonte.di.unito.it/ 10 | 11 | 12 | This program is free software: you can redistribute it and/or modify 13 | it under the terms of the version 3 GNU General Public License as 14 | published by the Free Software Foundation. 15 | 16 | This program is distributed in the hope that it will be useful, 17 | but WITHOUT ANY WARRANTY; without even the implied warranty of 18 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 | GNU General Public License for more details. 20 | 21 | You should have received a copy of the GNU General Public License 22 | along with this program. If not, see . 23 | 24 | */ 25 | 26 | #include 27 | #include 28 | 29 | int x, y, z; 30 | HMC58X3 magn; 31 | 32 | void setup(void) { 33 | Serial.begin(9600); 34 | Wire.begin(); 35 | 36 | // no delay needed as we have already a delay(5) in HMC58X3::init() 37 | magn.init(true); // Dont set mode yet, we'll do that later on. 38 | magn.calibrate(1, 64); 39 | magn.setMode(0); 40 | } 41 | 42 | void loop() { 43 | delay(10); 44 | // Get values, as ints and floats. 45 | magn.getValues(&x,&y,&z); 46 | 47 | Serial.print(x); 48 | Serial.print(","); 49 | Serial.print(y); 50 | Serial.print(","); 51 | Serial.print(z); 52 | Serial.println(","); 53 | } 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /libraries/I2cMaster/examples/i2cScanAddress/i2cScanAddress.pde: -------------------------------------------------------------------------------- 1 | // Warning only use this for hardware debug! 2 | // See which addresses respond to a start condition. 3 | 4 | #include 5 | 6 | // select software or hardware i2c 7 | #define USE_SOFT_I2C 0 8 | 9 | #if USE_SOFT_I2C 10 | #if defined(__AVR_ATmega1280__)\ 11 | || defined(__AVR_ATmega2560__) 12 | // Mega analog pins 4 and 5 13 | // pins for 168/328 shield on Mega 14 | #define SDA_PIN 58 15 | #define SCL_PIN 59 16 | 17 | #elif defined(__AVR_ATmega168__)\ 18 | ||defined(__AVR_ATmega168P__)\ 19 | ||defined(__AVR_ATmega328P__) 20 | // 168 and 328 Arduinos analog pin 4 and 5 21 | #define SDA_PIN 18 22 | #define SCL_PIN 19 23 | 24 | #else // CPU type 25 | #error unknown CPU 26 | #endif // CPU type 27 | // An instance of class for software master 28 | SoftI2cMaster rtc(SDA_PIN, SCL_PIN); 29 | #else // USE_SOFT_I2C 30 | // hardware master with pullups enabled 31 | TwiMaster rtc(true); 32 | #endif // USE_SOFT_I2C 33 | 34 | //------------------------------------------------------------------------------ 35 | void setup(void) { 36 | Serial.begin(9600); 37 | 38 | uint8_t add = 0; 39 | 40 | // try read 41 | do { 42 | if (rtc.start(add | I2C_READ)) { 43 | Serial.print("Add read: "); 44 | Serial.println(add, HEX); 45 | rtc.read(true); 46 | } 47 | rtc.stop(); 48 | add += 2; 49 | } while (add); 50 | 51 | // try write 52 | add = 0; 53 | do { 54 | if (rtc.start(add | I2C_WRITE)) { 55 | Serial.print("Add write: "); 56 | Serial.println(add, HEX); 57 | } 58 | rtc.stop(); 59 | add += 2; 60 | } while (add); 61 | 62 | Serial.println("Done"); 63 | } 64 | void loop(void){} 65 | -------------------------------------------------------------------------------- /libraries/I2cMaster/examples/i2cScopeTest/i2cScopeTest.pde: -------------------------------------------------------------------------------- 1 | // this sketch is for tweaking soft i2c signals 2 | 3 | #include 4 | 5 | #define SCL_PIN 7 6 | #define SDA_PIN 8 7 | 8 | SoftI2cMaster i2c(SDA_PIN, SCL_PIN); 9 | 10 | // also test base class idea 11 | I2cMasterBase *bus; 12 | 13 | uint8_t mode; 14 | //------------------------------------------------------------------------------ 15 | void setup(void) { 16 | Serial.begin(9600); 17 | 18 | // convert softI2cMaster to TwoWireBase to test base class idea 19 | bus = &i2c; 20 | 21 | Serial.println("enter 0 for write, any other for read"); 22 | while (!Serial.available()); 23 | mode = Serial.read(); 24 | if (mode == '0') { 25 | Serial.println("Write Mode"); 26 | } else { 27 | Serial.println("Read Mode"); 28 | } 29 | } 30 | //------------------------------------------------------------------------------ 31 | void loop(void) { 32 | if (mode == '0') { 33 | bus->write(0X55); 34 | } else { 35 | bus->read(0); 36 | } 37 | delay(1); 38 | } 39 | -------------------------------------------------------------------------------- /libraries/MAX6675/examples/lcdthermocouple/lcdthermocouple.pde: -------------------------------------------------------------------------------- 1 | // this example is public domain. enjoy! 2 | // www.ladyada.net/learn/sensors/thermocouple 3 | 4 | #include 5 | #include 6 | #include 7 | 8 | int thermoDO = 4; 9 | int thermoCS = 5; 10 | int thermoCLK = 6; 11 | 12 | MAX6675 thermocouple(thermoCLK, thermoCS, thermoDO); 13 | int vccPin = 3; 14 | int gndPin = 2; 15 | 16 | LiquidCrystal lcd(8, 9, 10, 11, 12, 13); 17 | 18 | // make a cute degree symbol 19 | uint8_t degree[8] = {140,146,146,140,128,128,128,128}; 20 | 21 | void setup() { 22 | Serial.begin(9600); 23 | // use Arduino pins 24 | pinMode(vccPin, OUTPUT); digitalWrite(vccPin, HIGH); 25 | pinMode(gndPin, OUTPUT); digitalWrite(gndPin, LOW); 26 | 27 | lcd.begin(16, 2); 28 | lcd.createChar(0, degree); 29 | 30 | // wait for MAX chip to stabilize 31 | delay(500); 32 | } 33 | 34 | void loop() { 35 | // basic readout test, just print the current temp 36 | lcd.clear(); 37 | lcd.setCursor(0, 0); 38 | lcd.print("MAX6675 test"); 39 | 40 | // go to line #1 41 | lcd.setCursor(0,1); 42 | lcd.print(thermocouple.readCelsius()); 43 | #if ARDUINO >= 100 44 | lcd.write((byte)0); 45 | #else 46 | lcd.print(0, BYTE); 47 | #endif 48 | lcd.print("C "); 49 | lcd.print(thermocouple.readFahrenheit()); 50 | #if ARDUINO >= 100 51 | lcd.write((byte)0); 52 | #else 53 | lcd.print(0, BYTE); 54 | #endif 55 | lcd.print('F'); 56 | 57 | delay(1000); 58 | } 59 | -------------------------------------------------------------------------------- /libraries/MAX6675/examples/serialthermocouple/serialthermocouple.pde: -------------------------------------------------------------------------------- 1 | // this example is public domain. enjoy! 2 | // www.ladyada.net/learn/sensors/thermocouple 3 | 4 | #include "max6675.h" 5 | 6 | int thermoDO = 4; 7 | int thermoCS = 5; 8 | int thermoCLK = 6; 9 | 10 | MAX6675 thermocouple(thermoCLK, thermoCS, thermoDO); 11 | int vccPin = 3; 12 | int gndPin = 2; 13 | 14 | void setup() { 15 | Serial.begin(9600); 16 | // use Arduino pins 17 | pinMode(vccPin, OUTPUT); digitalWrite(vccPin, HIGH); 18 | pinMode(gndPin, OUTPUT); digitalWrite(gndPin, LOW); 19 | 20 | Serial.println("MAX6675 test"); 21 | // wait for MAX chip to stabilize 22 | delay(500); 23 | } 24 | 25 | void loop() { 26 | // basic readout test, just print the current temp 27 | 28 | Serial.print("C = "); 29 | Serial.println(thermocouple.readCelsius()); 30 | Serial.print("F = "); 31 | Serial.println(thermocouple.readFahrenheit()); 32 | 33 | delay(1000); 34 | } 35 | -------------------------------------------------------------------------------- /libraries/MAX6675/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map for NewSoftSerial 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | max6675 KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | 15 | readCelsius KEYWORD2 16 | readFahrenheit KEYWORD2 17 | readFarenheit KEYWORD2 18 | 19 | ####################################### 20 | # Constants (LITERAL1) 21 | ####################################### 22 | 23 | -------------------------------------------------------------------------------- /libraries/MAX6675/max6675.cpp: -------------------------------------------------------------------------------- 1 | // this library is public domain. enjoy! 2 | // www.ladyada.net/learn/sensors/thermocouple 3 | 4 | #include 5 | #include 6 | #include 7 | #include "max6675.h" 8 | 9 | MAX6675::MAX6675(int8_t SCLK, int8_t CS, int8_t MISO) { 10 | sclk = SCLK; 11 | cs = CS; 12 | miso = MISO; 13 | 14 | //define pin modes 15 | pinMode(cs, OUTPUT); 16 | pinMode(sclk, OUTPUT); 17 | pinMode(miso, INPUT); 18 | 19 | digitalWrite(cs, HIGH); 20 | } 21 | double MAX6675::readCelsius(void) { 22 | 23 | uint16_t v; 24 | 25 | digitalWrite(cs, LOW); 26 | _delay_ms(1); 27 | 28 | v = spiread(); 29 | v <<= 8; 30 | v |= spiread(); 31 | 32 | digitalWrite(cs, HIGH); 33 | 34 | if (v & 0x4) { 35 | // uh oh, no thermocouple attached! 36 | return NAN; 37 | //return -100; 38 | } 39 | 40 | v >>= 3; 41 | 42 | return v*0.25; 43 | } 44 | 45 | double MAX6675::readFahrenheit(void) { 46 | return readCelsius() * 9.0/5.0 + 32; 47 | } 48 | 49 | byte MAX6675::spiread(void) { 50 | int i; 51 | byte d = 0; 52 | 53 | for (i=7; i>=0; i--) 54 | { 55 | digitalWrite(sclk, LOW); 56 | _delay_ms(1); 57 | if (digitalRead(miso)) { 58 | //set the bit to 0 no matter what 59 | d |= (1 << i); 60 | } 61 | 62 | digitalWrite(sclk, HIGH); 63 | _delay_ms(1); 64 | } 65 | 66 | return d; 67 | } 68 | -------------------------------------------------------------------------------- /libraries/MAX6675/max6675.h: -------------------------------------------------------------------------------- 1 | // this library is public domain. enjoy! 2 | // www.ladyada.net/learn/sensors/thermocouple 3 | 4 | #if ARDUINO >= 100 5 | #include "Arduino.h" 6 | #else 7 | #include "WProgram.h" 8 | #endif 9 | 10 | class MAX6675 { 11 | public: 12 | MAX6675(int8_t SCLK, int8_t CS, int8_t MISO); 13 | 14 | double readCelsius(void); 15 | double readFahrenheit(void); 16 | // For compatibility with older versions: 17 | double readFarenheit(void) { return readFahrenheit(); } 18 | private: 19 | int8_t sclk, miso, cs; 20 | uint8_t spiread(void); 21 | }; 22 | -------------------------------------------------------------------------------- /libraries/MPU6050/MPU6050.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MPU6050/MPU6050.cpp -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/README: -------------------------------------------------------------------------------- 1 | This is a Bazaar control directory. 2 | Do not change any files in this directory. 3 | See http://bazaar.canonical.com/ for more information about Bazaar. 4 | -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/branch-format: -------------------------------------------------------------------------------- 1 | Bazaar-NG meta directory, format 1 2 | -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/branch/branch.conf: -------------------------------------------------------------------------------- 1 | push_location = sftp://varesano@varesano.net/~/repository/MS561101BA/ 2 | -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/branch/format: -------------------------------------------------------------------------------- 1 | Bazaar Branch Format 7 (needs bzr 1.6) 2 | -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/branch/last-revision: -------------------------------------------------------------------------------- 1 | 13 fvaresano@yahoo.it-20111205164830-bszejysovi2xq7y8 2 | -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/branch/tags: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/branch/tags -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/checkout/conflicts: -------------------------------------------------------------------------------- 1 | BZR conflict list format 1 2 | -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/checkout/format: -------------------------------------------------------------------------------- 1 | Bazaar Working Tree Format 6 (bzr 1.14) 2 | -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/checkout/views: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/checkout/views -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/format: -------------------------------------------------------------------------------- 1 | Bazaar repository format 2a (needs bzr 1.16 or later) 2 | -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/indices/583b77052c0f2776d214fbc51f58a718.cix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/indices/583b77052c0f2776d214fbc51f58a718.cix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/indices/583b77052c0f2776d214fbc51f58a718.iix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/indices/583b77052c0f2776d214fbc51f58a718.iix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/indices/583b77052c0f2776d214fbc51f58a718.rix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/indices/583b77052c0f2776d214fbc51f58a718.rix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/indices/583b77052c0f2776d214fbc51f58a718.six: -------------------------------------------------------------------------------- 1 | B+Tree Graph Index 2 2 | node_ref_lists=0 3 | key_elements=1 4 | len=0 5 | row_lengths= 6 | -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/indices/583b77052c0f2776d214fbc51f58a718.tix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/indices/583b77052c0f2776d214fbc51f58a718.tix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/indices/aa13626422837ebb40c3076a7cb28a06.cix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/indices/aa13626422837ebb40c3076a7cb28a06.cix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/indices/aa13626422837ebb40c3076a7cb28a06.iix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/indices/aa13626422837ebb40c3076a7cb28a06.iix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/indices/aa13626422837ebb40c3076a7cb28a06.rix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/indices/aa13626422837ebb40c3076a7cb28a06.rix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/indices/aa13626422837ebb40c3076a7cb28a06.six: -------------------------------------------------------------------------------- 1 | B+Tree Graph Index 2 2 | node_ref_lists=0 3 | key_elements=1 4 | len=0 5 | row_lengths= 6 | -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/indices/aa13626422837ebb40c3076a7cb28a06.tix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/indices/aa13626422837ebb40c3076a7cb28a06.tix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/indices/e7ce59ac6c57aaffffed2fb515dfc320.cix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/indices/e7ce59ac6c57aaffffed2fb515dfc320.cix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/indices/e7ce59ac6c57aaffffed2fb515dfc320.iix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/indices/e7ce59ac6c57aaffffed2fb515dfc320.iix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/indices/e7ce59ac6c57aaffffed2fb515dfc320.rix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/indices/e7ce59ac6c57aaffffed2fb515dfc320.rix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/indices/e7ce59ac6c57aaffffed2fb515dfc320.six: -------------------------------------------------------------------------------- 1 | B+Tree Graph Index 2 2 | node_ref_lists=0 3 | key_elements=1 4 | len=0 5 | row_lengths= 6 | -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/indices/e7ce59ac6c57aaffffed2fb515dfc320.tix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/indices/e7ce59ac6c57aaffffed2fb515dfc320.tix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/indices/eeae137fc9a33bfc931f40564cfb1856.cix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/indices/eeae137fc9a33bfc931f40564cfb1856.cix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/indices/eeae137fc9a33bfc931f40564cfb1856.iix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/indices/eeae137fc9a33bfc931f40564cfb1856.iix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/indices/eeae137fc9a33bfc931f40564cfb1856.rix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/indices/eeae137fc9a33bfc931f40564cfb1856.rix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/indices/eeae137fc9a33bfc931f40564cfb1856.six: -------------------------------------------------------------------------------- 1 | B+Tree Graph Index 2 2 | node_ref_lists=0 3 | key_elements=1 4 | len=0 5 | row_lengths= 6 | -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/indices/eeae137fc9a33bfc931f40564cfb1856.tix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/indices/eeae137fc9a33bfc931f40564cfb1856.tix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/008b692ff30f62ec95fdb7a876a2cc96.cix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/008b692ff30f62ec95fdb7a876a2cc96.cix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/008b692ff30f62ec95fdb7a876a2cc96.iix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/008b692ff30f62ec95fdb7a876a2cc96.iix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/008b692ff30f62ec95fdb7a876a2cc96.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/008b692ff30f62ec95fdb7a876a2cc96.pack -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/008b692ff30f62ec95fdb7a876a2cc96.rix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/008b692ff30f62ec95fdb7a876a2cc96.rix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/008b692ff30f62ec95fdb7a876a2cc96.six: -------------------------------------------------------------------------------- 1 | B+Tree Graph Index 2 2 | node_ref_lists=0 3 | key_elements=1 4 | len=0 5 | row_lengths= 6 | -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/008b692ff30f62ec95fdb7a876a2cc96.tix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/008b692ff30f62ec95fdb7a876a2cc96.tix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/0e5b85399fc8bd3747d173467ee86734.cix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/0e5b85399fc8bd3747d173467ee86734.cix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/0e5b85399fc8bd3747d173467ee86734.iix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/0e5b85399fc8bd3747d173467ee86734.iix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/0e5b85399fc8bd3747d173467ee86734.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/0e5b85399fc8bd3747d173467ee86734.pack -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/0e5b85399fc8bd3747d173467ee86734.rix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/0e5b85399fc8bd3747d173467ee86734.rix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/0e5b85399fc8bd3747d173467ee86734.six: -------------------------------------------------------------------------------- 1 | B+Tree Graph Index 2 2 | node_ref_lists=0 3 | key_elements=1 4 | len=0 5 | row_lengths= 6 | -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/0e5b85399fc8bd3747d173467ee86734.tix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/0e5b85399fc8bd3747d173467ee86734.tix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/28141448b4dbd26b945f63b7ac9a97e7.cix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/28141448b4dbd26b945f63b7ac9a97e7.cix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/28141448b4dbd26b945f63b7ac9a97e7.iix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/28141448b4dbd26b945f63b7ac9a97e7.iix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/28141448b4dbd26b945f63b7ac9a97e7.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/28141448b4dbd26b945f63b7ac9a97e7.pack -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/28141448b4dbd26b945f63b7ac9a97e7.rix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/28141448b4dbd26b945f63b7ac9a97e7.rix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/28141448b4dbd26b945f63b7ac9a97e7.six: -------------------------------------------------------------------------------- 1 | B+Tree Graph Index 2 2 | node_ref_lists=0 3 | key_elements=1 4 | len=0 5 | row_lengths= 6 | -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/28141448b4dbd26b945f63b7ac9a97e7.tix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/28141448b4dbd26b945f63b7ac9a97e7.tix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/5135d8dec2609d9069cccb8f3ca8a8cb.cix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/5135d8dec2609d9069cccb8f3ca8a8cb.cix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/5135d8dec2609d9069cccb8f3ca8a8cb.iix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/5135d8dec2609d9069cccb8f3ca8a8cb.iix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/5135d8dec2609d9069cccb8f3ca8a8cb.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/5135d8dec2609d9069cccb8f3ca8a8cb.pack -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/5135d8dec2609d9069cccb8f3ca8a8cb.rix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/5135d8dec2609d9069cccb8f3ca8a8cb.rix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/5135d8dec2609d9069cccb8f3ca8a8cb.six: -------------------------------------------------------------------------------- 1 | B+Tree Graph Index 2 2 | node_ref_lists=0 3 | key_elements=1 4 | len=0 5 | row_lengths= 6 | -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/5135d8dec2609d9069cccb8f3ca8a8cb.tix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/5135d8dec2609d9069cccb8f3ca8a8cb.tix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/5230f19d71ec667e5b9516a054b6b3d1.cix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/5230f19d71ec667e5b9516a054b6b3d1.cix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/5230f19d71ec667e5b9516a054b6b3d1.iix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/5230f19d71ec667e5b9516a054b6b3d1.iix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/5230f19d71ec667e5b9516a054b6b3d1.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/5230f19d71ec667e5b9516a054b6b3d1.pack -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/5230f19d71ec667e5b9516a054b6b3d1.rix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/5230f19d71ec667e5b9516a054b6b3d1.rix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/5230f19d71ec667e5b9516a054b6b3d1.six: -------------------------------------------------------------------------------- 1 | B+Tree Graph Index 2 2 | node_ref_lists=0 3 | key_elements=1 4 | len=0 5 | row_lengths= 6 | -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/5230f19d71ec667e5b9516a054b6b3d1.tix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/5230f19d71ec667e5b9516a054b6b3d1.tix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/8dad72563405e9bf1cb7b957f94663d9.cix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/8dad72563405e9bf1cb7b957f94663d9.cix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/8dad72563405e9bf1cb7b957f94663d9.iix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/8dad72563405e9bf1cb7b957f94663d9.iix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/8dad72563405e9bf1cb7b957f94663d9.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/8dad72563405e9bf1cb7b957f94663d9.pack -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/8dad72563405e9bf1cb7b957f94663d9.rix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/8dad72563405e9bf1cb7b957f94663d9.rix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/8dad72563405e9bf1cb7b957f94663d9.six: -------------------------------------------------------------------------------- 1 | B+Tree Graph Index 2 2 | node_ref_lists=0 3 | key_elements=1 4 | len=0 5 | row_lengths= 6 | -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/8dad72563405e9bf1cb7b957f94663d9.tix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/8dad72563405e9bf1cb7b957f94663d9.tix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/b7c14c16442d5d5517de0a73966b74ec.cix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/b7c14c16442d5d5517de0a73966b74ec.cix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/b7c14c16442d5d5517de0a73966b74ec.iix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/b7c14c16442d5d5517de0a73966b74ec.iix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/b7c14c16442d5d5517de0a73966b74ec.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/b7c14c16442d5d5517de0a73966b74ec.pack -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/b7c14c16442d5d5517de0a73966b74ec.rix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/b7c14c16442d5d5517de0a73966b74ec.rix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/b7c14c16442d5d5517de0a73966b74ec.six: -------------------------------------------------------------------------------- 1 | B+Tree Graph Index 2 2 | node_ref_lists=0 3 | key_elements=1 4 | len=0 5 | row_lengths= 6 | -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/b7c14c16442d5d5517de0a73966b74ec.tix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/b7c14c16442d5d5517de0a73966b74ec.tix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/b9e15ff90a1843cc73701de3fc796af5.cix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/b9e15ff90a1843cc73701de3fc796af5.cix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/b9e15ff90a1843cc73701de3fc796af5.iix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/b9e15ff90a1843cc73701de3fc796af5.iix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/b9e15ff90a1843cc73701de3fc796af5.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/b9e15ff90a1843cc73701de3fc796af5.pack -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/b9e15ff90a1843cc73701de3fc796af5.rix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/b9e15ff90a1843cc73701de3fc796af5.rix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/b9e15ff90a1843cc73701de3fc796af5.six: -------------------------------------------------------------------------------- 1 | B+Tree Graph Index 2 2 | node_ref_lists=0 3 | key_elements=1 4 | len=0 5 | row_lengths= 6 | -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/b9e15ff90a1843cc73701de3fc796af5.tix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/b9e15ff90a1843cc73701de3fc796af5.tix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/ba4a951ce21a260fb2fa0c3bad1b9d3c.cix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/ba4a951ce21a260fb2fa0c3bad1b9d3c.cix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/ba4a951ce21a260fb2fa0c3bad1b9d3c.iix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/ba4a951ce21a260fb2fa0c3bad1b9d3c.iix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/ba4a951ce21a260fb2fa0c3bad1b9d3c.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/ba4a951ce21a260fb2fa0c3bad1b9d3c.pack -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/ba4a951ce21a260fb2fa0c3bad1b9d3c.rix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/ba4a951ce21a260fb2fa0c3bad1b9d3c.rix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/ba4a951ce21a260fb2fa0c3bad1b9d3c.six: -------------------------------------------------------------------------------- 1 | B+Tree Graph Index 2 2 | node_ref_lists=0 3 | key_elements=1 4 | len=0 5 | row_lengths= 6 | -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/ba4a951ce21a260fb2fa0c3bad1b9d3c.tix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/ba4a951ce21a260fb2fa0c3bad1b9d3c.tix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/c6efa1d661e6663ca066b4e8e19f89f7.cix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/c6efa1d661e6663ca066b4e8e19f89f7.cix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/c6efa1d661e6663ca066b4e8e19f89f7.iix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/c6efa1d661e6663ca066b4e8e19f89f7.iix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/c6efa1d661e6663ca066b4e8e19f89f7.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/c6efa1d661e6663ca066b4e8e19f89f7.pack -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/c6efa1d661e6663ca066b4e8e19f89f7.rix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/c6efa1d661e6663ca066b4e8e19f89f7.rix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/c6efa1d661e6663ca066b4e8e19f89f7.six: -------------------------------------------------------------------------------- 1 | B+Tree Graph Index 2 2 | node_ref_lists=0 3 | key_elements=1 4 | len=0 5 | row_lengths= 6 | -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/obsolete_packs/c6efa1d661e6663ca066b4e8e19f89f7.tix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/obsolete_packs/c6efa1d661e6663ca066b4e8e19f89f7.tix -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/pack-names: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/pack-names -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/packs/583b77052c0f2776d214fbc51f58a718.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/packs/583b77052c0f2776d214fbc51f58a718.pack -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/packs/aa13626422837ebb40c3076a7cb28a06.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/packs/aa13626422837ebb40c3076a7cb28a06.pack -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/packs/e7ce59ac6c57aaffffed2fb515dfc320.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/packs/e7ce59ac6c57aaffffed2fb515dfc320.pack -------------------------------------------------------------------------------- /libraries/MS561101BA/.bzr/repository/packs/eeae137fc9a33bfc931f40564cfb1856.pack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/MS561101BA/.bzr/repository/packs/eeae137fc9a33bfc931f40564cfb1856.pack -------------------------------------------------------------------------------- /libraries/MS561101BA/INSTALL.txt: -------------------------------------------------------------------------------- 1 | Copy the whole directory which contain this file into the folder "libraries" inside the Arduino sketchbook folder. 2 | You can understand the location of your sketchbook folder from the Arduino IDE clicking on File -> Preferences: the "sketchbook location" is what you are looking for. 3 | In case you don't have an "libraries" folder there just create an empty one. 4 | 5 | For more informations see: 6 | http://www.arduino.cc/en/Reference/Libraries 7 | -------------------------------------------------------------------------------- /libraries/MS561101BA/examples/MS561101BA_regscan/MS561101BA_regscan.pde: -------------------------------------------------------------------------------- 1 | /*HMC5883LRegisterScanner.pde 2 | **A sketch that attempts to read every register from a slave device 3 | **Written by Wayne Truchsess http://dsscircuits.com 4 | */ 5 | 6 | #include "Wire.h" 7 | #define I2C 0x77 8 | 9 | byte x; 10 | 11 | void setup() { 12 | Wire.begin(); 13 | Serial.begin(9600); 14 | delay(1000); 15 | } 16 | 17 | void loop() { 18 | readRegisters(); 19 | } 20 | 21 | void readRegisters() { 22 | for(int l = 0x00; l < 256; l++){ 23 | Wire.beginTransmission(I2C); 24 | Wire.send(l); 25 | Wire.endTransmission(); 26 | //delay(100); 27 | Wire.beginTransmission(I2C); 28 | Wire.requestFrom(I2C,1); 29 | x = Wire.receive(); 30 | Serial.print("Register Address "); 31 | Serial.print(l,DEC); 32 | Serial.print("_"); 33 | Serial.print(l,HEX); 34 | Serial.print(" = "); 35 | Serial.print(x,BIN); 36 | Serial.print(" = "); 37 | Serial.print(x,DEC); 38 | Serial.println(" "); 39 | Wire.endTransmission(); 40 | } 41 | } -------------------------------------------------------------------------------- /libraries/PID_v1/Examples/PID_AdaptiveTunings/PID_AdaptiveTunings.pde: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | * PID Adaptive Tuning Example 3 | * One of the benefits of the PID library is that you can 4 | * change the tuning parameters at any time. this can be 5 | * helpful if we want the controller to be agressive at some 6 | * times, and conservative at others. in the example below 7 | * we set the controller to use Conservative Tuning Parameters 8 | * when we're near setpoint and more agressive Tuning 9 | * Parameters when we're farther away. 10 | ********************************************************/ 11 | 12 | #include 13 | 14 | //Define Variables we'll be connecting to 15 | double Setpoint, Input, Output; 16 | 17 | //Define the aggressive and conservative Tuning Parameters 18 | double aggKp=4, aggKi=0.2, aggKd=1; 19 | double consKp=1, consKi=0.05, consKd=0.25; 20 | 21 | //Specify the links and initial tuning parameters 22 | PID myPID(&Input, &Output, &Setpoint, consKp, consKi, consKd, DIRECT); 23 | 24 | void setup() 25 | { 26 | //initialize the variables we're linked to 27 | Input = analogRead(0); 28 | Setpoint = 100; 29 | 30 | //turn the PID on 31 | myPID.SetMode(AUTOMATIC); 32 | } 33 | 34 | void loop() 35 | { 36 | Input = analogRead(0); 37 | 38 | double gap = abs(Setpoint-Input); //distance away from setpoint 39 | if(gap<10) 40 | { //we're close to setpoint, use conservative tuning parameters 41 | myPID.SetTunings(consKp, consKi, consKd); 42 | } 43 | else 44 | { 45 | //we're far from setpoint, use aggressive tuning parameters 46 | myPID.SetTunings(aggKp, aggKi, aggKd); 47 | } 48 | 49 | myPID.Compute(); 50 | analogWrite(3,Output); 51 | } 52 | 53 | 54 | -------------------------------------------------------------------------------- /libraries/PID_v1/Examples/PID_Basic/PID_Basic.pde: -------------------------------------------------------------------------------- 1 | /******************************************************** 2 | * PID Basic Example 3 | * Reading analog input 0 to control analog PWM output 3 4 | ********************************************************/ 5 | 6 | #include 7 | 8 | //Define Variables we'll be connecting to 9 | double Setpoint, Input, Output; 10 | 11 | //Specify the links and initial tuning parameters 12 | PID myPID(&Input, &Output, &Setpoint,2,5,1, DIRECT); 13 | 14 | void setup() 15 | { 16 | //initialize the variables we're linked to 17 | Input = analogRead(0); 18 | Setpoint = 100; 19 | 20 | //turn the PID on 21 | myPID.SetMode(AUTOMATIC); 22 | } 23 | 24 | void loop() 25 | { 26 | Input = analogRead(0); 27 | myPID.Compute(); 28 | analogWrite(3,Output); 29 | } 30 | 31 | 32 | -------------------------------------------------------------------------------- /libraries/PID_v1/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For PID Library 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | PID KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | 15 | SetMode KEYWORD2 16 | Compute KEYWORD2 17 | SetOutputLimits KEYWORD2 18 | SetTunings KEYWORD2 19 | SetControllerDirection KEYWORD2 20 | SetSampleTime KEYWORD2 21 | GetKp KEYWORD2 22 | GetKi KEYWORD2 23 | GetKd KEYWORD2 24 | GetMode KEYWORD2 25 | GetDirection KEYWORD2 26 | 27 | ####################################### 28 | # Constants (LITERAL1) 29 | ####################################### 30 | 31 | AUTOMATIC LITERAL1 32 | MANUAL LITERAL1 33 | DIRECT LITERAL1 34 | REVERSE LITERAL1 -------------------------------------------------------------------------------- /libraries/RTClib/RTClib.h: -------------------------------------------------------------------------------- 1 | // Code by JeeLabs http://news.jeelabs.org/code/ 2 | // Released to the public domain! Enjoy! 3 | 4 | // Simple general-purpose date/time class (no TZ / DST / leap second handling!) 5 | class DateTime { 6 | public: 7 | DateTime (uint32_t t =0); 8 | DateTime (uint16_t year, uint8_t month, uint8_t day, 9 | uint8_t hour =0, uint8_t min =0, uint8_t sec =0); 10 | DateTime (const char* date, const char* time); 11 | uint16_t year() const { return 2000 + yOff; } 12 | uint8_t month() const { return m; } 13 | uint8_t day() const { return d; } 14 | uint8_t hour() const { return hh; } 15 | uint8_t minute() const { return mm; } 16 | uint8_t second() const { return ss; } 17 | uint8_t dayOfWeek() const; 18 | 19 | // 32-bit times as seconds since 1/1/2000 20 | long secondstime() const; 21 | // 32-bit times as seconds since 1/1/1970 22 | uint32_t unixtime(void) const; 23 | 24 | protected: 25 | uint8_t yOff, m, d, hh, mm, ss; 26 | }; 27 | 28 | // RTC based on the DS1307 chip connected via I2C and the Wire library 29 | class RTC_DS1307 { 30 | public: 31 | static uint8_t begin(void); 32 | static void adjust(const DateTime& dt); 33 | uint8_t isrunning(void); 34 | static DateTime now(); 35 | }; 36 | 37 | // RTC using the internal millis() clock, has to be initialized before use 38 | // NOTE: this clock won't be correct once the millis() timer rolls over (>49d?) 39 | class RTC_Millis { 40 | public: 41 | static void begin(const DateTime& dt) { adjust(dt); } 42 | static void adjust(const DateTime& dt); 43 | static DateTime now(); 44 | 45 | protected: 46 | static long offset; 47 | }; 48 | -------------------------------------------------------------------------------- /libraries/RTClib/examples/datecalc/datecalc.pde: -------------------------------------------------------------------------------- 1 | // Simple date conversions and calculations 2 | 3 | #include 4 | #include "RTClib.h" 5 | 6 | void showDate(const char* txt, const DateTime& dt) { 7 | Serial.print(txt); 8 | Serial.print(' '); 9 | Serial.print(dt.year(), DEC); 10 | Serial.print('/'); 11 | Serial.print(dt.month(), DEC); 12 | Serial.print('/'); 13 | Serial.print(dt.day(), DEC); 14 | Serial.print(' '); 15 | Serial.print(dt.hour(), DEC); 16 | Serial.print(':'); 17 | Serial.print(dt.minute(), DEC); 18 | Serial.print(':'); 19 | Serial.print(dt.second(), DEC); 20 | 21 | Serial.print(" = "); 22 | Serial.print(dt.unixtime()); 23 | Serial.print("s / "); 24 | Serial.print(dt.unixtime() / 86400L); 25 | Serial.print("d since 1970"); 26 | 27 | Serial.println(); 28 | } 29 | 30 | void setup () { 31 | Serial.begin(57600); 32 | 33 | DateTime dt0 (0, 1, 1, 0, 0, 0); 34 | showDate("dt0", dt0); 35 | 36 | DateTime dt1 (1, 1, 1, 0, 0, 0); 37 | showDate("dt1", dt1); 38 | 39 | DateTime dt2 (2009, 1, 1, 0, 0, 0); 40 | showDate("dt2", dt2); 41 | 42 | DateTime dt3 (2009, 1, 2, 0, 0, 0); 43 | showDate("dt3", dt3); 44 | 45 | DateTime dt4 (2009, 1, 27, 0, 0, 0); 46 | showDate("dt4", dt4); 47 | 48 | DateTime dt5 (2009, 2, 27, 0, 0, 0); 49 | showDate("dt5", dt5); 50 | 51 | DateTime dt6 (2009, 12, 27, 0, 0, 0); 52 | showDate("dt6", dt6); 53 | 54 | DateTime dt7 (dt6.unixtime() + 3600); // one hour later 55 | showDate("dt7", dt7); 56 | 57 | DateTime dt8 (dt6.unixtime() + 86400L); // one day later 58 | showDate("dt8", dt8); 59 | 60 | DateTime dt9 (dt6.unixtime() + 7 * 86400L); // one week later 61 | showDate("dt9", dt9); 62 | } 63 | 64 | void loop () { 65 | } 66 | -------------------------------------------------------------------------------- /libraries/RTClib/examples/ds1307/ds1307.pde: -------------------------------------------------------------------------------- 1 | // Date and time functions using a DS1307 RTC connected via I2C and Wire lib 2 | 3 | #include 4 | #include "RTClib.h" 5 | 6 | RTC_DS1307 RTC; 7 | 8 | void setup () { 9 | Serial.begin(57600); 10 | Wire.begin(); 11 | RTC.begin(); 12 | 13 | if (! RTC.isrunning()) { 14 | Serial.println("RTC is NOT running!"); 15 | // following line sets the RTC to the date & time this sketch was compiled 16 | RTC.adjust(DateTime(__DATE__, __TIME__)); 17 | } 18 | } 19 | 20 | void loop () { 21 | DateTime now = RTC.now(); 22 | 23 | Serial.print(now.year(), DEC); 24 | Serial.print('/'); 25 | Serial.print(now.month(), DEC); 26 | Serial.print('/'); 27 | Serial.print(now.day(), DEC); 28 | Serial.print(' '); 29 | Serial.print(now.hour(), DEC); 30 | Serial.print(':'); 31 | Serial.print(now.minute(), DEC); 32 | Serial.print(':'); 33 | Serial.print(now.second(), DEC); 34 | Serial.println(); 35 | 36 | Serial.print(" since midnight 1/1/1970 = "); 37 | Serial.print(now.unixtime()); 38 | Serial.print("s = "); 39 | Serial.print(now.unixtime() / 86400L); 40 | Serial.println("d"); 41 | 42 | // calculate a date which is 7 days and 30 seconds into the future 43 | DateTime future (now.unixtime() + 7 * 86400L + 30); 44 | 45 | Serial.print(" now + 7d + 30s: "); 46 | Serial.print(future.year(), DEC); 47 | Serial.print('/'); 48 | Serial.print(future.month(), DEC); 49 | Serial.print('/'); 50 | Serial.print(future.day(), DEC); 51 | Serial.print(' '); 52 | Serial.print(future.hour(), DEC); 53 | Serial.print(':'); 54 | Serial.print(future.minute(), DEC); 55 | Serial.print(':'); 56 | Serial.print(future.second(), DEC); 57 | Serial.println(); 58 | 59 | Serial.println(); 60 | delay(3000); 61 | } 62 | -------------------------------------------------------------------------------- /libraries/RTClib/examples/softrtc/softrtc.pde: -------------------------------------------------------------------------------- 1 | // Date and time functions using just software, based on millis() & timer 2 | 3 | #include 4 | #include "RTClib.h" 5 | 6 | RTC_Millis RTC; 7 | 8 | void setup () { 9 | Serial.begin(57600); 10 | // following line sets the RTC to the date & time this sketch was compiled 11 | RTC.begin(DateTime(__DATE__, __TIME__)); 12 | } 13 | 14 | void loop () { 15 | DateTime now = RTC.now(); 16 | 17 | Serial.print(now.year(), DEC); 18 | Serial.print('/'); 19 | Serial.print(now.month(), DEC); 20 | Serial.print('/'); 21 | Serial.print(now.day(), DEC); 22 | Serial.print(' '); 23 | Serial.print(now.hour(), DEC); 24 | Serial.print(':'); 25 | Serial.print(now.minute(), DEC); 26 | Serial.print(':'); 27 | Serial.print(now.second(), DEC); 28 | Serial.println(); 29 | 30 | Serial.print(" seconds since 1970: "); 31 | Serial.println(now.unixtime()); 32 | 33 | // calculate a date which is 7 days and 30 seconds into the future 34 | DateTime future (now.unixtime() + 7 * 86400L + 30); 35 | 36 | Serial.print(" now + 7d + 30s: "); 37 | Serial.print(future.year(), DEC); 38 | Serial.print('/'); 39 | Serial.print(future.month(), DEC); 40 | Serial.print('/'); 41 | Serial.print(future.day(), DEC); 42 | Serial.print(' '); 43 | Serial.print(future.hour(), DEC); 44 | Serial.print(':'); 45 | Serial.print(future.minute(), DEC); 46 | Serial.print(':'); 47 | Serial.print(future.second(), DEC); 48 | Serial.println(); 49 | 50 | Serial.println(); 51 | delay(3000); 52 | } 53 | -------------------------------------------------------------------------------- /libraries/RTClib/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For RTC 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | DateTime KEYWORD1 10 | RTC_DS1307 KEYWORD1 11 | RTC_Millis KEYWORD1 12 | 13 | ####################################### 14 | # Methods and Functions (KEYWORD2) 15 | ####################################### 16 | 17 | year KEYWORD2 18 | month KEYWORD2 19 | day KEYWORD2 20 | hour KEYWORD2 21 | minute KEYWORD2 22 | second KEYWORD2 23 | dayOfWeek KEYWORD2 24 | secondstime KEYWORD2 25 | unixtime KEYWORD2 26 | begin KEYWORD2 27 | adjust KEYWORD2 28 | isrunning KEYWORD2 29 | now KEYWORD2 30 | 31 | ####################################### 32 | # Constants (LITERAL1) 33 | ####################################### 34 | 35 | -------------------------------------------------------------------------------- /libraries/SD/README.txt: -------------------------------------------------------------------------------- 1 | 2 | ** SD - a slightly more friendly wrapper for sdfatlib ** 3 | 4 | This library aims to expose a subset of SD card functionality in the 5 | form of a higher level "wrapper" object. 6 | 7 | License: GNU General Public License V3 8 | (Because sdfatlib is licensed with this.) 9 | 10 | (C) Copyright 2010 SparkFun Electronics 11 | 12 | Now better than ever with optimization, multiple file support, directory handling, etc - ladyada! 13 | 14 | -------------------------------------------------------------------------------- /libraries/SD/examples/DumpFile/DumpFile.ino: -------------------------------------------------------------------------------- 1 | /* 2 | SD card file dump 3 | 4 | This example shows how to read a file from the SD card using the 5 | SD library and send it over the serial port. 6 | 7 | The circuit: 8 | * SD card attached to SPI bus as follows: 9 | ** MOSI - pin 11 10 | ** MISO - pin 12 11 | ** CLK - pin 13 12 | ** CS - pin 4 13 | 14 | created 22 December 2010 15 | 16 | This example code is in the public domain. 17 | 18 | */ 19 | 20 | #include 21 | 22 | // On the Ethernet Shield, CS is pin 4. Note that even if it's not 23 | // used as the CS pin, the hardware CS pin (10 on most Arduino boards, 24 | // 53 on the Mega) must be left as an output or the SD library 25 | // functions will not work. 26 | const int chipSelect = 4; 27 | 28 | void setup() 29 | { 30 | Serial.begin(9600); 31 | Serial.print("Initializing SD card..."); 32 | // make sure that the default chip select pin is set to 33 | // output, even if you don't use it: 34 | pinMode(10, OUTPUT); 35 | 36 | // see if the card is present and can be initialized: 37 | if (!SD.begin(chipSelect)) { 38 | Serial.println("Card failed, or not present"); 39 | // don't do anything more: 40 | return; 41 | } 42 | Serial.println("card initialized."); 43 | 44 | // open the file. note that only one file can be open at a time, 45 | // so you have to close this one before opening another. 46 | File dataFile = SD.open("datalog.txt"); 47 | 48 | // if the file is available, write to it: 49 | if (dataFile) { 50 | while (dataFile.available()) { 51 | Serial.write(dataFile.read()); 52 | } 53 | dataFile.close(); 54 | } 55 | // if the file isn't open, pop up an error: 56 | else { 57 | Serial.println("error opening datalog.txt"); 58 | } 59 | } 60 | 61 | void loop() 62 | { 63 | } 64 | 65 | -------------------------------------------------------------------------------- /libraries/SD/examples/listfiles/listfiles.ino: -------------------------------------------------------------------------------- 1 | /* 2 | SD card basic file example 3 | 4 | This example shows how to create and destroy an SD card file 5 | The circuit: 6 | * SD card attached to SPI bus as follows: 7 | ** MOSI - pin 11 8 | ** MISO - pin 12 9 | ** CLK - pin 13 10 | ** CS - pin 4 11 | 12 | created Nov 2010 13 | by David A. Mellis 14 | updated 2 Dec 2010 15 | by Tom Igoe 16 | 17 | This example code is in the public domain. 18 | 19 | */ 20 | #include 21 | 22 | File root; 23 | 24 | void setup() 25 | { 26 | Serial.begin(9600); 27 | Serial.print("Initializing SD card..."); 28 | // On the Ethernet Shield, CS is pin 4. It's set as an output by default. 29 | // Note that even if it's not used as the CS pin, the hardware SS pin 30 | // (10 on most Arduino boards, 53 on the Mega) must be left as an output 31 | // or the SD library functions will not work. 32 | pinMode(10, OUTPUT); 33 | 34 | if (!SD.begin(10)) { 35 | Serial.println("initialization failed!"); 36 | return; 37 | } 38 | Serial.println("initialization done."); 39 | 40 | root = SD.open("/"); 41 | 42 | printDirectory(root, 0); 43 | 44 | Serial.println("done!"); 45 | } 46 | 47 | void loop() 48 | { 49 | // nothing happens after setup finishes. 50 | } 51 | 52 | void printDirectory(File dir, int numTabs) { 53 | while(true) { 54 | 55 | File entry = dir.openNextFile(); 56 | if (! entry) { 57 | // no more files 58 | //Serial.println("**nomorefiles**"); 59 | break; 60 | } 61 | for (uint8_t i=0; i. 19 | */ 20 | #ifndef SdFatUtil_h 21 | #define SdFatUtil_h 22 | /** 23 | * \file 24 | * \brief Useful utility functions. 25 | */ 26 | #include 27 | #if ARDUINO < 100 28 | #include 29 | #else // ARDUINO 30 | #include 31 | #endif // ARDUINO 32 | /** Store and print a string in flash memory.*/ 33 | #define PgmPrint(x) SerialPrint_P(PSTR(x)) 34 | /** Store and print a string in flash memory followed by a CR/LF.*/ 35 | #define PgmPrintln(x) SerialPrintln_P(PSTR(x)) 36 | 37 | namespace SdFatUtil { 38 | int FreeRam(); 39 | void print_P(Print* pr, PGM_P str); 40 | void println_P(Print* pr, PGM_P str); 41 | void SerialPrint_P(PGM_P str); 42 | void SerialPrintln_P(PGM_P str); 43 | } 44 | 45 | using namespace SdFatUtil; // NOLINT 46 | #endif // #define SdFatUtil_h 47 | -------------------------------------------------------------------------------- /libraries/SdFat/SdFile.h: -------------------------------------------------------------------------------- 1 | /* Arduino SdFat Library 2 | * Copyright (C) 2012 by William Greiman 3 | * 4 | * This file is part of the Arduino SdFat Library 5 | * 6 | * This Library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This Library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with the Arduino SdFat Library. If not, see 18 | * . 19 | */ 20 | /** 21 | * \file 22 | * \brief SdFile class 23 | */ 24 | #include 25 | #ifndef SdFile_h 26 | #define SdFile_h 27 | //------------------------------------------------------------------------------ 28 | /** 29 | * \class SdFile 30 | * \brief SdBaseFile with Print. 31 | */ 32 | class SdFile : public SdBaseFile, public Print { 33 | public: 34 | SdFile() {} 35 | SdFile(const char* name, uint8_t oflag); 36 | /** \return value of writeError */ 37 | bool getWriteError() {return SdBaseFile::getWriteError();} 38 | /** Set writeError to zero */ 39 | void clearWriteError() {SdBaseFile::clearWriteError();} 40 | #if ARDUINO < 100 41 | void write(uint8_t b); 42 | void write(const char* str); 43 | #else // ARDUINO < 100 44 | size_t write(uint8_t b); 45 | int16_t write(const char* str); 46 | #endif // ARDUINO < 100 47 | int16_t write(const void* buf, uint16_t nbyte); 48 | void write_P(PGM_P str); 49 | void writeln_P(PGM_P str); 50 | }; 51 | #endif // SdFile_h 52 | -------------------------------------------------------------------------------- /libraries/SdFat/examples/HelloWorld/HelloWorld.pde: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | // create a serial output stream 4 | ArduinoOutStream cout(Serial); 5 | 6 | void setup() { 7 | Serial.begin(9600); 8 | cout << "Hello, World!\n"; 9 | } 10 | 11 | void loop() {} 12 | -------------------------------------------------------------------------------- /libraries/SdFat/examples/OpenNext/OpenNext.pde: -------------------------------------------------------------------------------- 1 | /* 2 | * Open all files in the root dir and print their filename 3 | */ 4 | #include 5 | 6 | // SD chip select pin 7 | const uint8_t chipSelect = SS; 8 | 9 | // file system object 10 | SdFat sd; 11 | 12 | SdFile file; 13 | 14 | // define a serial output stream 15 | ArduinoOutStream cout(Serial); 16 | //------------------------------------------------------------------------------ 17 | void setup() { 18 | char name[13]; 19 | 20 | Serial.begin(9600); 21 | 22 | // initialize the SD card at SPI_HALF_SPEED to avoid bus errors with 23 | // breadboards. use SPI_FULL_SPEED for better performance. 24 | if (!sd.begin(chipSelect, SPI_HALF_SPEED)) sd.initErrorHalt(); 25 | 26 | // open next file in root. The volume working directory, vwd, is root 27 | while (file.openNext(sd.vwd(), O_READ)) { 28 | file.getFilename(name); 29 | cout << name << endl; 30 | file.close(); 31 | } 32 | cout << "Done" << endl; 33 | } 34 | //------------------------------------------------------------------------------ 35 | void loop() {} 36 | -------------------------------------------------------------------------------- /libraries/SdFat/examples/ReadWriteSdFat/ReadWriteSdFat.pde: -------------------------------------------------------------------------------- 1 | // Ported to SdFat from the native Arduino SD library example by Bill Greiman 2 | // On the Ethernet Shield, CS is pin 4. SdFat handles setting SS 3 | const int chipSelect = 4; 4 | /* 5 | SD card read/write 6 | 7 | This example shows how to read and write data to and from an SD card file 8 | The circuit: 9 | * SD card attached to SPI bus as follows: 10 | ** MOSI - pin 11 11 | ** MISO - pin 12 12 | ** CLK - pin 13 13 | ** CS - pin 4 14 | 15 | created Nov 2010 16 | by David A. Mellis 17 | updated 2 Dec 2010 18 | by Tom Igoe 19 | modified by Bill Greiman 11 Apr 2011 20 | This example code is in the public domain. 21 | 22 | */ 23 | #include 24 | SdFat sd; 25 | SdFile myFile; 26 | 27 | void setup() { 28 | Serial.begin(9600); 29 | 30 | // Initialize SdFat or print a detailed error message and halt 31 | // Use half speed like the native library. 32 | // change to SPI_FULL_SPEED for more performance. 33 | if (!sd.begin(chipSelect, SPI_HALF_SPEED)) sd.initErrorHalt(); 34 | 35 | // open the file for write at end like the Native SD library 36 | if (!myFile.open("test.txt", O_RDWR | O_CREAT | O_AT_END)) { 37 | sd.errorHalt("opening test.txt for write failed"); 38 | } 39 | // if the file opened okay, write to it: 40 | Serial.print("Writing to test.txt..."); 41 | myFile.println("testing 1, 2, 3."); 42 | 43 | // close the file: 44 | myFile.close(); 45 | Serial.println("done."); 46 | 47 | // re-open the file for reading: 48 | if (!myFile.open("test.txt", O_READ)) { 49 | sd.errorHalt("opening test.txt for read failed"); 50 | } 51 | Serial.println("test.txt:"); 52 | 53 | // read from the file until there's nothing else in it: 54 | int data; 55 | while ((data = myFile.read()) > 0) Serial.write(data); 56 | // close the file: 57 | myFile.close(); 58 | } 59 | 60 | void loop() { 61 | // nothing happens after setup 62 | } 63 | 64 | 65 | -------------------------------------------------------------------------------- /libraries/SdFat/examples/SD_Size/SD_Size.pde: -------------------------------------------------------------------------------- 1 | /* 2 | * Sketch to compare size of Arduino SD library with SdFat V2. 3 | * See SdFatSize.pde for SdFat sketch. 4 | */ 5 | #include 6 | 7 | File file; 8 | //------------------------------------------------------------------------------ 9 | void setup() { 10 | Serial.begin(9600); 11 | 12 | if (!SD.begin()) { 13 | Serial.println("begin failed"); 14 | return; 15 | } 16 | file = SD.open("TEST_SD.TXT", FILE_WRITE); 17 | 18 | file.println("Hello"); 19 | 20 | file.close(); 21 | } 22 | //------------------------------------------------------------------------------ 23 | void loop() {} 24 | -------------------------------------------------------------------------------- /libraries/SdFat/examples/SdFatSize/SdFatSize.pde: -------------------------------------------------------------------------------- 1 | /* 2 | * Sketch to compare size of SdFat V2 with Arduino SD library. 3 | * See SD_Size.pde for Arduino SD sketch. 4 | */ 5 | #include 6 | 7 | SdFat sd; 8 | 9 | SdFile file; 10 | //------------------------------------------------------------------------------ 11 | void setup() { 12 | Serial.begin(9600); 13 | 14 | if (!sd.begin()) { 15 | Serial.println("init failed"); 16 | return; 17 | } 18 | file.open("SIZE_TST.TXT", O_RDWR | O_CREAT | O_AT_END); 19 | 20 | file.println("Hello"); 21 | 22 | file.close(); 23 | } 24 | //------------------------------------------------------------------------------ 25 | void loop() {} 26 | -------------------------------------------------------------------------------- /libraries/SdFat/examples/SerialDataSource/SerialDataSource.pde: -------------------------------------------------------------------------------- 1 | // This program sends 280000 bytes over serial port zero. 2 | // Maximum baud rate for a 328 Arduino is 57600. 3 | // Maximum baud rate for a Mega Arduino is 115200 4 | const uint32_t BAUD_RATE = 57600; 5 | 6 | #include 7 | // define NewSerial as serial port zero 8 | USE_NEW_SERIAL; 9 | void setup() { 10 | NewSerial.begin(BAUD_RATE); 11 | pinMode(13, OUTPUT); 12 | // light pin 13 LED on Arduino Board 13 | digitalWrite(13, HIGH); 14 | 15 | // write start time 16 | NewSerial.println(millis()); 17 | 18 | for (uint16_t i = 0; i < 10000; i++) { 19 | NewSerial.write("ABCDEFGHIJKLMNOPQRSTUVWXYZ\r\n"); 20 | } 21 | // write end time 22 | NewSerial.println(millis()); 23 | 24 | // turn off pin 13 LED 25 | digitalWrite(13, LOW); 26 | } 27 | void loop() {} 28 | -------------------------------------------------------------------------------- /libraries/SdFat/examples/append/append.pde: -------------------------------------------------------------------------------- 1 | /* 2 | * Append Example 3 | * 4 | * This sketch shows how to use open for append. 5 | * The sketch will append 100 line each time it opens the file. 6 | * The sketch will open and close the file 100 times. 7 | */ 8 | #include 9 | 10 | // SD chip select pin 11 | const uint8_t chipSelect = SS; 12 | 13 | // file system object 14 | SdFat sd; 15 | 16 | // create Serial stream 17 | ArduinoOutStream cout(Serial); 18 | 19 | // store error strings in flash to save RAM 20 | #define error(s) sd.errorHalt_P(PSTR(s)) 21 | //------------------------------------------------------------------------------ 22 | void setup() { 23 | // filename for this example 24 | char name[] = "APPEND.TXT"; 25 | 26 | Serial.begin(9600); 27 | 28 | // pstr() stores strings in flash to save RAM 29 | cout << endl << pstr("Type any character to start\n"); 30 | while (Serial.read() < 0) {} 31 | 32 | // initialize the SD card at SPI_HALF_SPEED to avoid bus errors with 33 | // breadboards. use SPI_FULL_SPEED for better performance. 34 | if (!sd.begin(chipSelect, SPI_HALF_SPEED)) sd.initErrorHalt(); 35 | 36 | cout << pstr("Appending to: ") << name; 37 | 38 | for (uint8_t i = 0; i < 100; i++) { 39 | // open stream for append 40 | ofstream sdout(name, ios::out | ios::app); 41 | if (!sdout) error("open failed"); 42 | 43 | // append 100 lines to the file 44 | for (uint8_t j = 0; j < 100; j++) { 45 | // use int() so byte will print as decimal number 46 | sdout << "line " << int(j) << " of pass " << int(i); 47 | sdout << " millis = " << millis() << endl; 48 | } 49 | // close the stream 50 | sdout.close(); 51 | 52 | if (!sdout) error("append data failed"); 53 | 54 | // output progress indicator 55 | if (i % 25 == 0) cout << endl; 56 | cout << '.'; 57 | } 58 | cout << endl << "Done" << endl; 59 | } 60 | //------------------------------------------------------------------------------ 61 | void loop() {} 62 | -------------------------------------------------------------------------------- /libraries/SdFat/examples/bufstream/bufstream.pde: -------------------------------------------------------------------------------- 1 | /* 2 | * Use of ibufsteam to parse a line and obufstream to format a line 3 | */ 4 | #include 5 | 6 | // create a serial output stream 7 | ArduinoOutStream cout(Serial); 8 | //------------------------------------------------------------------------------ 9 | void setup() { 10 | char buf[20]; // buffer for formatted line 11 | int i, j, k; // values from parsed line 12 | 13 | Serial.begin(9600); 14 | 15 | // initialize input string 16 | ibufstream bin("123 456 789"); 17 | 18 | // parse the string "123 456 789" 19 | bin >> i >> j >> k; 20 | 21 | // initialize output buffer 22 | obufstream bout(buf, sizeof(buf)); 23 | 24 | // format the output string 25 | bout << k << ',' << j << ',' << i << endl; 26 | 27 | // write the string to serial 28 | cout << buf; 29 | } 30 | 31 | void loop() {} 32 | -------------------------------------------------------------------------------- /libraries/SdFat/examples/cin_cout/cin_cout.pde: -------------------------------------------------------------------------------- 1 | /* 2 | * Demo of ArduinoInStream and ArduinoOutStream 3 | */ 4 | #include 5 | 6 | // create serial output stream 7 | ArduinoOutStream cout(Serial); 8 | 9 | // input buffer for line 10 | char cinBuf[40]; 11 | 12 | // create serial input stream 13 | ArduinoInStream cin(Serial, cinBuf, sizeof(cinBuf)); 14 | //------------------------------------------------------------------------------ 15 | void setup() { 16 | Serial.begin(9600); 17 | } 18 | //------------------------------------------------------------------------------ 19 | void loop() { 20 | int32_t n; 21 | 22 | cout << "enter an integer\n"; 23 | 24 | cin.readline(); 25 | 26 | if (cin >> n) { 27 | cout << "The number is: " << n << endl; 28 | } else { 29 | // will fail if no digits or not in range [-2147483648, 2147483647] 30 | cout << "Invalid input: " << cinBuf << endl; 31 | } 32 | cout << endl; 33 | } 34 | -------------------------------------------------------------------------------- /libraries/SdFat/examples/eventlog/eventlog.pde: -------------------------------------------------------------------------------- 1 | /* 2 | * Append a line to a file - demo of pathnames and streams 3 | */ 4 | #include 5 | 6 | // SD chip select pin 7 | const uint8_t chipSelect = SS; 8 | 9 | // file system object 10 | SdFat sd; 11 | 12 | // define a serial output stream 13 | ArduinoOutStream cout(Serial); 14 | //------------------------------------------------------------------------------ 15 | /* 16 | * Append a line to LOGFILE.TXT 17 | */ 18 | void logEvent(const char *msg) { 19 | // create dir if needed 20 | sd.mkdir("LOGS/2011/JAN"); 21 | 22 | // create or open a file for append 23 | ofstream sdlog("LOGS/2011/JAN/LOGFILE.TXT", ios::out | ios::app); 24 | 25 | // append a line to the file 26 | sdlog << msg << endl; 27 | 28 | // check for errors 29 | if (!sdlog) sd.errorHalt("append failed"); 30 | 31 | // file will be closed when sdlog goes out of scope 32 | } 33 | //------------------------------------------------------------------------------ 34 | void setup() { 35 | Serial.begin(9600); 36 | 37 | // pstr stores strings in flash to save RAM 38 | cout << pstr("Type any character to start\n"); 39 | while (Serial.read() < 0) {} 40 | 41 | // initialize the SD card at SPI_HALF_SPEED to avoid bus errors with 42 | // breadboards. use SPI_FULL_SPEED for better performance. 43 | if (!sd.begin(chipSelect, SPI_HALF_SPEED)) sd.initErrorHalt(); 44 | 45 | // append a line to the logfile 46 | logEvent("Another line for the logfile"); 47 | 48 | cout << "Done - check /LOGS/2011/JAN/LOGFILE.TXT on the SD" << endl; 49 | } 50 | //------------------------------------------------------------------------------ 51 | void loop() {} 52 | -------------------------------------------------------------------------------- /libraries/SdFat/examples/formatting/formatting.pde: -------------------------------------------------------------------------------- 1 | /* 2 | * Print a table with various formatting options 3 | * Format dates 4 | */ 5 | #include 6 | 7 | // create Serial stream 8 | ArduinoOutStream cout(Serial); 9 | //------------------------------------------------------------------------------ 10 | // print a table to demonstrate format manipulators 11 | void example(void) { 12 | const int max = 10; 13 | const int width = 4; 14 | 15 | for (int row = 1; row <= max; row++) { 16 | for (int col = 1; col <= max; col++) { 17 | cout << setw(width) << row * col << (col == max ? '\n' : ' '); 18 | } 19 | } 20 | cout << endl; 21 | } 22 | //------------------------------------------------------------------------------ 23 | // print a date as mm/dd/yyyy with zero fill in mm and dd 24 | // shows how to set and restore the fill character 25 | void showDate(int m, int d, int y) { 26 | // convert two digit year 27 | if (y < 100) y += 2000; 28 | 29 | // set new fill to '0' save old fill character 30 | char old = cout.fill('0'); 31 | 32 | // print date 33 | cout << setw(2) << m << '/' << setw(2) << d << '/' << y << endl; 34 | 35 | // restore old fill character 36 | cout.fill(old); 37 | } 38 | //------------------------------------------------------------------------------ 39 | void setup(void) { 40 | Serial.begin(9600); 41 | 42 | cout << endl << "default formatting" << endl; 43 | example(); 44 | 45 | cout << showpos << "showpos" << endl; 46 | example(); 47 | 48 | cout << hex << left << showbase << "hex left showbase" << endl; 49 | example(); 50 | 51 | cout << internal << setfill('0') << uppercase; 52 | cout << "uppercase hex internal showbase fill('0')" < 6 | 7 | // SD chip select pin 8 | const uint8_t chipSelect = SS; 9 | 10 | // file system object 11 | SdFat sd; 12 | 13 | // define a serial output stream 14 | ArduinoOutStream cout(Serial); 15 | //------------------------------------------------------------------------------ 16 | void setup() { 17 | char c; 18 | Serial.begin(9600); 19 | 20 | // initialize the SD card at SPI_HALF_SPEED to avoid bus errors with 21 | // breadboards. use SPI_FULL_SPEED for better performance. 22 | if (!sd.begin(chipSelect, SPI_HALF_SPEED)) sd.initErrorHalt(); 23 | 24 | // set current working directory 25 | if (!sd.chdir("LOGS/2011/JAN/")) { 26 | sd.errorHalt("chdir failed. Did you run eventlog.pde?"); 27 | } 28 | // open file in current working directory 29 | ifstream file("LOGFILE.TXT"); 30 | 31 | if (!file.is_open()) sd.errorHalt("open failed"); 32 | 33 | // copy the file to Serial 34 | while ((c = file.get()) >= 0) cout << c; 35 | 36 | cout << "Done" << endl; 37 | } 38 | //------------------------------------------------------------------------------ 39 | void loop() {} 40 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/HowTo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/SerialPortBeta/HowTo.txt -------------------------------------------------------------------------------- /libraries/SerialPortBeta/SerialPort.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | A web page that points a browser to a different page 4 | 5 | 6 | 7 | 8 | Your browser didn't automatically redirect. Open html/index.html manually. 9 | 10 | 11 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/SerialPort/examples/ArduinoSize/ArduinoSize.pde: -------------------------------------------------------------------------------- 1 | // Print free RAM for Arduino HardwareSerial 2 | // 3 | #include "FreeRam.h" 4 | 5 | void setup() { 6 | Serial.begin(9600); 7 | Serial.println(FreeRam()); 8 | } 9 | void loop() { 10 | } 11 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/SerialPort/examples/ArduinoSize/FreeRam.h: -------------------------------------------------------------------------------- 1 | static inline int FreeRam() { 2 | extern int __bss_end; 3 | extern int* __brkval; 4 | int free_memory; 5 | if (reinterpret_cast(__brkval) == 0) { 6 | // if no heap use from end of bss section 7 | free_memory = reinterpret_cast(&free_memory) 8 | - reinterpret_cast(&__bss_end); 9 | } else { 10 | // use from top of stack to heap 11 | free_memory = reinterpret_cast(&free_memory) 12 | - reinterpret_cast(__brkval); 13 | } 14 | return free_memory; 15 | } 16 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/SerialPort/examples/ArduinoTest/ArduinoTest.pde: -------------------------------------------------------------------------------- 1 | 2 | void setup() { 3 | Serial.begin(9600); 4 | uint32_t t = micros(); 5 | Serial.write("This string is used to measure the time to buffer data.\r\n"); 6 | t = micros() - t; 7 | Serial.write("Time: "); 8 | Serial.print(t); 9 | Serial.write(" us\r\n"); 10 | } 11 | void loop() { 12 | Serial.write("\r\nenter a string\r\n"); 13 | while (!Serial.available()) {} 14 | do { 15 | Serial.write(Serial.read()); 16 | uint32_t m = millis(); 17 | while (!Serial.available() && (millis() - m) < 3) {} 18 | } while(Serial.available()); 19 | Serial.write("\r\n"); 20 | } -------------------------------------------------------------------------------- /libraries/SerialPortBeta/SerialPort/examples/BufferedSize/BufferedSize.pde: -------------------------------------------------------------------------------- 1 | // print free RAM for Arduino 1.0 style buffering 2 | // 3 | #include 4 | #include "FreeRam.h" 5 | 6 | SerialPort<0, 63, 63> NewSerial; 7 | 8 | // for Arduino 0022 style buffering use this 9 | //SerialPort<0, 127, 0> NewSerial; 10 | 11 | void setup() { 12 | NewSerial.begin(9600); 13 | NewSerial.println(FreeRam()); 14 | } 15 | void loop() {} -------------------------------------------------------------------------------- /libraries/SerialPortBeta/SerialPort/examples/BufferedSize/FreeRam.h: -------------------------------------------------------------------------------- 1 | static inline int FreeRam() { 2 | extern int __bss_end; 3 | extern int* __brkval; 4 | int free_memory; 5 | if (reinterpret_cast(__brkval) == 0) { 6 | // if no heap use from end of bss section 7 | free_memory = reinterpret_cast(&free_memory) 8 | - reinterpret_cast(&__bss_end); 9 | } else { 10 | // use from top of stack to heap 11 | free_memory = reinterpret_cast(&free_memory) 12 | - reinterpret_cast(__brkval); 13 | } 14 | return free_memory; 15 | } 16 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/SerialPort/examples/BufferedTest/BufferedTest.pde: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | // port zero, 63 character RX and TX buffers 4 | SerialPort<0, 63, 63> NewSerial; 5 | 6 | void setup() { 7 | NewSerial.begin(9600); 8 | uint32_t t = micros(); 9 | NewSerial.write("This string is used to measure the time to buffer data.\r\n"); 10 | t = micros() - t; 11 | NewSerial.write("Time: "); 12 | NewSerial.print(t); 13 | NewSerial.write(" us\r\n"); 14 | } 15 | void loop() { 16 | NewSerial.write("\r\nenter a string\r\n"); 17 | while (!NewSerial.available()) {} 18 | do { 19 | NewSerial.write(NewSerial.read()); 20 | uint32_t m = millis(); 21 | while (!NewSerial.available() && (millis() - m) < 3) {} 22 | } while(NewSerial.available()); 23 | NewSerial.write("\r\n"); 24 | } -------------------------------------------------------------------------------- /libraries/SerialPortBeta/SerialPort/examples/HelloWorld/HelloWorld.pde: -------------------------------------------------------------------------------- 1 | // Simple usage with buffering like Arduino 1.0 2 | #include 3 | 4 | // use NewSerial for port 0 5 | USE_NEW_SERIAL; 6 | 7 | void setup() { 8 | NewSerial.begin(9600); 9 | NewSerial.println("Hello World!"); 10 | } 11 | void loop() {} -------------------------------------------------------------------------------- /libraries/SerialPortBeta/SerialPort/examples/MegaTest/MegaTest.pde: -------------------------------------------------------------------------------- 1 | // Test all ports on the Mega 2 | // 3 | // place loopback jumpers, RX connected to TX, 4 | // on ports 1, 2, and 3. 5 | // 6 | #include 7 | // port 0 unbuffered 8 | SerialPort<0, 0, 0> port0; 9 | 10 | // port 1 buffered RX 11 | SerialPort<1, 32, 0> port1; 12 | 13 | // port 2 buffered RX and TX 14 | SerialPort<2, 32, 32> port2; 15 | 16 | // port 3 buffered RX and TX 17 | SerialPort<3, 32, 32> port3; 18 | 19 | void transfer(Stream* in, Stream* out) { 20 | while(!in->available()) {} 21 | do { 22 | out->write(in->read()); 23 | uint32_t m = millis(); 24 | while (!in->available() && (millis() -m) < 3) {} 25 | } while (in->available()); 26 | } 27 | 28 | void setup() { 29 | port0.begin(9600); 30 | port1.begin(9600); 31 | port2.begin(9600); 32 | port3.begin(9600); 33 | } 34 | void loop() { 35 | port0.write("type a string\r\n"); 36 | transfer(&port0, &port1); 37 | transfer(&port1, &port2); 38 | transfer(&port2, &port3); 39 | transfer(&port3, &port0); 40 | port0.write("\r\n\r\n"); 41 | } 42 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/SerialPort/examples/MegaTestArduino/MegaTestArduino.pde: -------------------------------------------------------------------------------- 1 | // Test all ports on the Mega 2 | // 3 | // place loopback jumpers, RX connected to TX, 4 | // on ports 1, 2, and 3. 5 | // 6 | void transfer(Stream* in, Stream* out) { 7 | while(!in->available()) {} 8 | do { 9 | out->write(in->read()); 10 | uint32_t m = millis(); 11 | while (!in->available() && (millis() - m) < 3) {} 12 | } while (in->available()); 13 | } 14 | void setup() { 15 | Serial.begin(9600); 16 | Serial1.begin(9600); 17 | Serial2.begin(9600); 18 | Serial3.begin(9600); 19 | } 20 | void loop() { 21 | Serial.write("type a string\r\n"); 22 | transfer(&Serial, &Serial1); 23 | transfer(&Serial1, &Serial2); 24 | transfer(&Serial2, &Serial3); 25 | transfer(&Serial3, &Serial); 26 | Serial.write("\r\n\r\n"); 27 | } 28 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/SerialPort/examples/ReadWriteTest/ReadWriteTest.pde: -------------------------------------------------------------------------------- 1 | // test that ring buffer overrun can be detected 2 | #include 3 | // port 0, 16 byte RX and TX buffers 4 | SerialPort<0, 16, 16> port0; 5 | 6 | void setup() { 7 | port0.begin(9600); 8 | port0.write("SerialPort version: "); 9 | port0.println(SERIAL_PORT_VERSION); 10 | } 11 | void loop() { 12 | uint8_t buffer[10]; 13 | port0.writeln("Enter a string. Overrun error for more than 16 bytes."); 14 | while (!port0.available()) {} 15 | // delay so an ring buffer overrun will occur for long strings 16 | delay(50); 17 | uint32_t m = millis(); 18 | do { 19 | size_t n = port0.read(buffer, sizeof (buffer)); 20 | if (n) { 21 | m = millis(); 22 | port0.write(buffer, n); 23 | } 24 | } while ((millis() - m) < 4); 25 | port0.writeln(); 26 | uint8_t e = port0.getRxError(); 27 | if (e) { 28 | port0.write("Error: "); 29 | port0.println(e, HEX); 30 | port0.clearRxError(); 31 | } 32 | } -------------------------------------------------------------------------------- /libraries/SerialPortBeta/SerialPort/examples/UnbufferedSize/FreeRam.h: -------------------------------------------------------------------------------- 1 | static inline int FreeRam() { 2 | extern int __bss_end; 3 | extern int* __brkval; 4 | int free_memory; 5 | if (reinterpret_cast(__brkval) == 0) { 6 | // if no heap use from end of bss section 7 | free_memory = reinterpret_cast(&free_memory) 8 | - reinterpret_cast(&__bss_end); 9 | } else { 10 | // use from top of stack to heap 11 | free_memory = reinterpret_cast(&free_memory) 12 | - reinterpret_cast(__brkval); 13 | } 14 | return free_memory; 15 | } 16 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/SerialPort/examples/UnbufferedSize/UnbufferedSize.pde: -------------------------------------------------------------------------------- 1 | // print free RAM for unbuffered mode 2 | // you can reduce flash and RAM use more by setting 3 | // BUFFERED_TX and BUFFERED_RX zero in SerialPort.h 4 | // 5 | #include 6 | #include "FreeRam.h" 7 | 8 | // no buffers 9 | SerialPort<0, 0, 0> NewSerial; 10 | 11 | void setup() { 12 | NewSerial.begin(9600); 13 | NewSerial.println(FreeRam()); 14 | } 15 | void loop() {} -------------------------------------------------------------------------------- /libraries/SerialPortBeta/SerialPort/examples/UnbufferedTest/UnbufferedTest.pde: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | // serial port zero with no RX or TX buffering 4 | SerialPort<0, 0, 0> NewSerial; 5 | 6 | void setup() { 7 | NewSerial.begin(9600); 8 | uint32_t t = micros(); 9 | NewSerial.write("This string is used to measure the time to buffer data.\r\n"); 10 | t = micros() - t; 11 | NewSerial.write("Time: "); 12 | NewSerial.print(t); 13 | NewSerial.write(" us\r\n"); 14 | } 15 | void loop() { 16 | NewSerial.write("\r\nenter a string\r\n"); 17 | while (!NewSerial.available()) {} 18 | do { 19 | NewSerial.write(NewSerial.read()); 20 | uint32_t m = millis(); 21 | while (!NewSerial.available() && (millis() - m) < 3) {} 22 | } while(NewSerial.available()); 23 | NewSerial.write("\r\n"); 24 | } -------------------------------------------------------------------------------- /libraries/SerialPortBeta/SerialPort/examples/WriteFlash/WriteFlash.pde: -------------------------------------------------------------------------------- 1 | // test write() for a flash string 2 | #include 3 | 4 | SerialPort<0, 0, 32> port; 5 | 6 | void setup(void) { 7 | port.begin(115200); 8 | 9 | for (int route = 0; route < 11; route++) { 10 | uint32_t start = micros(); 11 | port.writeln(F("Selecting passenger route x")); 12 | uint32_t stop = micros(); 13 | port.write(F("Message time: ")); 14 | port.print(stop - start, DEC); 15 | port.writeln(F(" us")); 16 | delay(400); 17 | } 18 | } 19 | void loop(void) {} 20 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/bc_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/SerialPortBeta/html/bc_s.png -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/SerialPortBeta/html/closed.png -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/doxygen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/SerialPortBeta/html/doxygen.png -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/nav_f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/SerialPortBeta/html/nav_f.png -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/nav_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/SerialPortBeta/html/nav_h.png -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/SerialPortBeta/html/open.png -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/search/all_63.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | clearRxError 13 | SerialPort 14 |
15 |
16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/search/all_69.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | init 13 | SerialRingBuffer 14 |
15 |
16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/search/all_74.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | txRingBuf 13 | SerialPort.h 14 |
15 |
16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/search/classes_73.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | SerialPort 13 |
14 |
15 |
16 |
17 | SerialRingBuffer 18 |
19 |
20 |
Searching...
21 |
No Matches
22 | 28 |
29 | 30 | 31 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/search/classes_75.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | UsartRegister 13 |
14 |
15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/search/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/SerialPortBeta/html/search/close.png -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/search/defines_61.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | ALLOW_LARGE_BUFFERS 13 | SerialPort.h 14 |
15 |
16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/search/defines_62.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | BUFFERED_RX 13 | SerialPort.h 14 |
15 |
16 |
17 |
18 | BUFFERED_TX 19 | SerialPort.h 20 |
21 |
22 |
Searching...
23 |
No Matches
24 | 30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/search/defines_65.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | ENABLE_RX_ERROR_CHECKING 13 | SerialPort.h 14 |
15 |
16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/search/defines_73.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | SERIAL_PORT_VERSION 13 | SerialPort.h 14 |
15 |
16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/search/files_73.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | SerialPort.h 13 |
14 |
15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/search/functions_61.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 | 18 |
19 |
Searching...
20 |
No Matches
21 | 27 |
28 | 29 | 30 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/search/functions_63.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | clearRxError 13 | SerialPort 14 |
15 |
16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/search/functions_65.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | empty 13 | SerialRingBuffer 14 |
15 |
16 |
17 |
18 | end 19 | SerialPort 20 |
21 |
22 |
Searching...
23 |
No Matches
24 | 30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/search/functions_69.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | init 13 | SerialRingBuffer 14 |
15 |
16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/search/functions_72.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 | 18 |
19 |
Searching...
20 |
No Matches
21 | 27 |
28 | 29 | 30 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/search/mag_sel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/SerialPortBeta/html/search/mag_sel.png -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/search/nomatches.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
No Matches
10 |
11 | 12 | 13 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/search/search_l.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/SerialPortBeta/html/search/search_l.png -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/search/search_m.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/SerialPortBeta/html/search/search_m.png -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/search/search_r.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/SerialPortBeta/html/search/search_r.png -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/search/typedefs_62.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | buf_size_t 13 | SerialRingBuffer 14 |
15 |
16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/search/variables_72.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | rxErrorBits 13 | SerialPort.h 14 |
15 |
16 |
17 |
18 | rxRingBuf 19 | SerialPort.h 20 |
21 |
22 |
Searching...
23 |
No Matches
24 | 30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/search/variables_74.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | txRingBuf 13 | SerialPort.h 14 |
15 |
16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/tab_a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/SerialPortBeta/html/tab_a.png -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/tab_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/SerialPortBeta/html/tab_b.png -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/tab_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/SerialPortBeta/html/tab_h.png -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/tab_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/SerialPortBeta/html/tab_s.png -------------------------------------------------------------------------------- /libraries/SerialPortBeta/html/tabs.css: -------------------------------------------------------------------------------- 1 | .tabs, .tabs2, .tabs3 { 2 | background-image: url('tab_b.png'); 3 | width: 100%; 4 | z-index: 101; 5 | font-size: 13px; 6 | } 7 | 8 | .tabs2 { 9 | font-size: 10px; 10 | } 11 | .tabs3 { 12 | font-size: 9px; 13 | } 14 | 15 | .tablist { 16 | margin: 0; 17 | padding: 0; 18 | display: table; 19 | } 20 | 21 | .tablist li { 22 | float: left; 23 | display: table-cell; 24 | background-image: url('tab_b.png'); 25 | line-height: 36px; 26 | list-style: none; 27 | } 28 | 29 | .tablist a { 30 | display: block; 31 | padding: 0 20px; 32 | font-weight: bold; 33 | background-image:url('tab_s.png'); 34 | background-repeat:no-repeat; 35 | background-position:right; 36 | color: #283A5D; 37 | text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); 38 | text-decoration: none; 39 | outline: none; 40 | } 41 | 42 | .tabs3 .tablist a { 43 | padding: 0 10px; 44 | } 45 | 46 | .tablist a:hover { 47 | background-image: url('tab_h.png'); 48 | background-repeat:repeat-x; 49 | color: #fff; 50 | text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); 51 | text-decoration: none; 52 | } 53 | 54 | .tablist li.current a { 55 | background-image: url('tab_a.png'); 56 | background-repeat:repeat-x; 57 | color: #fff; 58 | text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); 59 | } 60 | -------------------------------------------------------------------------------- /libraries/TinyGPS/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map for TinyGPS 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | TinyGPS KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | 15 | encode KEYWORD2 16 | get_position KEYWORD2 17 | get_datetime KEYWORD2 18 | altitude KEYWORD2 19 | speed KEYWORD2 20 | course KEYWORD2 21 | stats KEYWORD2 22 | f_get_position KEYWORD2 23 | crack_datetime KEYWORD2 24 | f_altitude KEYWORD2 25 | f_course KEYWORD2 26 | f_speed_knots KEYWORD2 27 | f_speed_mph KEYWORD2 28 | f_speed_mps KEYWORD2 29 | f_speed_kmph KEYWORD2 30 | library_version KEYWORD2 31 | distance_between KEYWORD2 32 | course_to KEYWORD2 33 | satellites KEYWORD2 34 | hdop KEYWORD2 35 | 36 | ####################################### 37 | # Constants (LITERAL1) 38 | ####################################### 39 | 40 | GPS_INVALID_AGE LITERAL1 41 | GPS_INVALID_ANGLE LITERAL1 42 | GPS_INVALID_ALTITUDE LITERAL1 43 | GPS_INVALID_DATE LITERAL1 44 | GPS_INVALID_TIME LITERAL1 45 | GPS_INVALID_HDOP LITERAL1 46 | GPS_INVALID_SATELLITES LITERAL1 47 | GPS_INVALID_F_ANGLE LITERAL1 48 | GPS_INVALID_F_ALTITUDE LITERAL1 49 | GPS_INVALID_F_SPEED LITERAL1 50 | -------------------------------------------------------------------------------- /libraries/WaveHC/WaveUtil.cpp: -------------------------------------------------------------------------------- 1 | 2 | #if ARDUINO < 100 3 | #include 4 | #else // ARDUINO 5 | #include 6 | #endif // ARDUINO 7 | #include 8 | //------------------------------------------------------------------------------ 9 | /** Return the number of bytes currently free in RAM. */ 10 | int FreeRam(void) { 11 | extern int __bss_end; 12 | extern int *__brkval; 13 | int free_memory; 14 | if((int)__brkval == 0) { 15 | // if no heap use from end of bss section 16 | free_memory = ((int)&free_memory) - ((int)&__bss_end); 17 | } 18 | else { 19 | // use from top of stack to heap 20 | free_memory = ((int)&free_memory) - ((int)__brkval); 21 | } 22 | return free_memory; 23 | } 24 | //------------------------------------------------------------------------------ 25 | /** 26 | * %Print a string in flash memory to the serial port. 27 | * 28 | * \param[in] str Pointer to string stored in flash memory. 29 | */ 30 | void SerialPrint_P(PGM_P str) { 31 | for (uint8_t c; (c = pgm_read_byte(str)); str++) Serial.write(c); 32 | } 33 | //------------------------------------------------------------------------------ 34 | /** 35 | * %Print a string in flash memory followed by a CR/LF. 36 | * 37 | * \param[in] str Pointer to string stored in flash memory. 38 | */ 39 | void SerialPrintln_P(PGM_P str) { 40 | SerialPrint_P(str); 41 | Serial.println(); 42 | } -------------------------------------------------------------------------------- /libraries/WaveHC/WaveUtil.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | #ifndef WaveUtil_h 4 | #define WaveUtil_h 5 | #include 6 | 7 | // ladayada uses this name 8 | #define putstring(x) SerialPrint_P(PSTR(x)) 9 | 10 | // ladayada uses this name 11 | #define putstring_nl(x) SerialPrintln_P(PSTR(x)) 12 | 13 | /** Store and print a string in flash memory.*/ 14 | #define PgmPrint(x) SerialPrint_P(PSTR(x)) 15 | 16 | /** Store and print a string in flash memory followed by a CR/LF.*/ 17 | #define PgmPrintln(x) SerialPrintln_P(PSTR(x)) 18 | 19 | int FreeRam(void); 20 | void SerialPrint_P(PGM_P str); 21 | void SerialPrintln_P(PGM_P str); 22 | #endif //WaveUtil_h 23 | -------------------------------------------------------------------------------- /libraries/adxl345driver/.svn/all-wcprops: -------------------------------------------------------------------------------- 1 | K 25 2 | svn:wc:ra_dav:version-url 3 | V 35 4 | /svn/!svn/ver/19/branches/fvaresano 5 | END 6 | ADXL345.cpp 7 | K 25 8 | svn:wc:ra_dav:version-url 9 | V 47 10 | /svn/!svn/ver/19/branches/fvaresano/ADXL345.cpp 11 | END 12 | ADXL345.h 13 | K 25 14 | svn:wc:ra_dav:version-url 15 | V 45 16 | /svn/!svn/ver/19/branches/fvaresano/ADXL345.h 17 | END 18 | accel_cal.py 19 | K 25 20 | svn:wc:ra_dav:version-url 21 | V 48 22 | /svn/!svn/ver/19/branches/fvaresano/accel_cal.py 23 | END 24 | -------------------------------------------------------------------------------- /libraries/adxl345driver/.svn/entries: -------------------------------------------------------------------------------- 1 | 10 2 | 3 | dir 4 | 19 5 | https://adxl345driver.googlecode.com/svn/branches/fvaresano 6 | https://adxl345driver.googlecode.com/svn 7 | 8 | 9 | 10 | 2011-02-19T23:39:49.962934Z 11 | 19 12 | fvaresano@yahoo.it 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | b27c3ce0-0281-d3e9-44ef-4ad108562bfb 28 | 29 | ADXL345.cpp 30 | file 31 | 32 | 33 | 34 | 35 | 2011-02-19T23:41:41.000000Z 36 | ecaa4453f1fd69953a8aa7c0f5c40195 37 | 2011-02-19T23:39:49.962934Z 38 | 19 39 | fvaresano@yahoo.it 40 | has-props 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 18610 62 | 63 | ADXL345.h 64 | file 65 | 66 | 67 | 68 | 69 | 2011-02-19T23:41:41.000000Z 70 | 02b5e446bda318e030edbe6223fe598b 71 | 2011-02-19T23:39:49.962934Z 72 | 19 73 | fvaresano@yahoo.it 74 | has-props 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 6762 96 | 97 | accel_cal.py 98 | file 99 | 100 | 101 | 102 | 103 | 2011-02-19T23:41:41.000000Z 104 | d630d0f877cd7d72fb54950dd99b715c 105 | 2010-05-15T04:22:29.476309Z 106 | 2 107 | wyojustin 108 | has-props 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 1137 130 | 131 | examples 132 | dir 133 | 134 | -------------------------------------------------------------------------------- /libraries/adxl345driver/.svn/prop-base/ADXL345.cpp.svn-base: -------------------------------------------------------------------------------- 1 | K 14 2 | svn:executable 3 | V 0 4 | 5 | END 6 | -------------------------------------------------------------------------------- /libraries/adxl345driver/.svn/prop-base/ADXL345.h.svn-base: -------------------------------------------------------------------------------- 1 | K 14 2 | svn:executable 3 | V 0 4 | 5 | END 6 | -------------------------------------------------------------------------------- /libraries/adxl345driver/.svn/prop-base/accel_cal.py.svn-base: -------------------------------------------------------------------------------- 1 | K 14 2 | svn:executable 3 | V 0 4 | 5 | END 6 | -------------------------------------------------------------------------------- /libraries/adxl345driver/.svn/text-base/accel_cal.py.svn-base: -------------------------------------------------------------------------------- 1 | import scipy.optimize 2 | from pylab import * 3 | from numpy import * 4 | from mpl_toolkits.mplot3d import Axes3 5 | 6 | cal = open('cal.dat') 7 | fig = figure(1); clf() 8 | az = Axis3D(fig) 9 | 10 | for f in [cal]: 11 | data = array([map(float, l.split()) for l in f.readlines()]) 12 | 13 | N = len(data[0]) 14 | 15 | x = data[:,0] 16 | y = data[:,1] 17 | z = data[:,2] 18 | ax.scater(x, y, z) 19 | here 20 | 21 | A = array([[cx + r * cos(theta), 22 | cy + r * sin(theta)] for theta in arange(0, 2 * pi, 1 * pi/180)]) 23 | # plot(A[:,0], A[:,1], 'g-') 24 | xy = data[:,1:3] 25 | 26 | def cost(params): 27 | cx, cy, r = params 28 | xy_ = xy - [cx, cy] 29 | thetas = arctan2(xy_[:,1], xy_[:,0]) 30 | resids = xy_ - transpose([r * cos(thetas), r * sin(thetas)]) 31 | return sum(ravel(resids ** 2)) 32 | 33 | cx, cy, r = scipy.optimize.fmin(cost, [cx, cy, r], disp=False) 34 | print f.name, cx, cy, r 35 | ## acc_cal_lights_on.dat 550.150958354 507.218838209 249.831129791 36 | ## acc_cal_lights_off.dat 563.391868993 518.281081432 251.367556713 37 | 38 | A = array([[cx + r * cos(theta), 39 | cy + r * sin(theta)] for theta in arange(0, 2 * pi, 1 * pi/180)]) 40 | plot(A[:,0], A[:,1]) 41 | -------------------------------------------------------------------------------- /libraries/adxl345driver/accel_cal.py: -------------------------------------------------------------------------------- 1 | import scipy.optimize 2 | from pylab import * 3 | from numpy import * 4 | from mpl_toolkits.mplot3d import Axes3 5 | 6 | cal = open('cal.dat') 7 | fig = figure(1); clf() 8 | az = Axis3D(fig) 9 | 10 | for f in [cal]: 11 | data = array([map(float, l.split()) for l in f.readlines()]) 12 | 13 | N = len(data[0]) 14 | 15 | x = data[:,0] 16 | y = data[:,1] 17 | z = data[:,2] 18 | ax.scater(x, y, z) 19 | here 20 | 21 | A = array([[cx + r * cos(theta), 22 | cy + r * sin(theta)] for theta in arange(0, 2 * pi, 1 * pi/180)]) 23 | # plot(A[:,0], A[:,1], 'g-') 24 | xy = data[:,1:3] 25 | 26 | def cost(params): 27 | cx, cy, r = params 28 | xy_ = xy - [cx, cy] 29 | thetas = arctan2(xy_[:,1], xy_[:,0]) 30 | resids = xy_ - transpose([r * cos(thetas), r * sin(thetas)]) 31 | return sum(ravel(resids ** 2)) 32 | 33 | cx, cy, r = scipy.optimize.fmin(cost, [cx, cy, r], disp=False) 34 | print f.name, cx, cy, r 35 | ## acc_cal_lights_on.dat 550.150958354 507.218838209 249.831129791 36 | ## acc_cal_lights_off.dat 563.391868993 518.281081432 251.367556713 37 | 38 | A = array([[cx + r * cos(theta), 39 | cy + r * sin(theta)] for theta in arange(0, 2 * pi, 1 * pi/180)]) 40 | plot(A[:,0], A[:,1]) 41 | -------------------------------------------------------------------------------- /libraries/adxl345driver/examples/.svn/all-wcprops: -------------------------------------------------------------------------------- 1 | K 25 2 | svn:wc:ra_dav:version-url 3 | V 44 4 | /svn/!svn/ver/19/branches/fvaresano/examples 5 | END 6 | -------------------------------------------------------------------------------- /libraries/adxl345driver/examples/.svn/entries: -------------------------------------------------------------------------------- 1 | 10 2 | 3 | dir 4 | 19 5 | https://adxl345driver.googlecode.com/svn/branches/fvaresano/examples 6 | https://adxl345driver.googlecode.com/svn 7 | 8 | 9 | 10 | 2010-05-26T01:48:20.123102Z 11 | 18 12 | wyojustin 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | b27c3ce0-0281-d3e9-44ef-4ad108562bfb 28 | 29 | ADXL345_test 30 | dir 31 | 32 | ADXL345_run 33 | dir 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | https://adxl345driver.googlecode.com/svn/branches/fvaresano/examples/ADXL345Run 53 | 19 54 | 55 | ADXL345Run 56 | dir 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | deleted 78 | 79 | -------------------------------------------------------------------------------- /libraries/adxl345driver/examples/ADXL345_run/.svn/all-wcprops: -------------------------------------------------------------------------------- 1 | K 25 2 | svn:wc:ra_dav:version-url 3 | V 56 4 | /svn/!svn/ver/20/branches/fvaresano/examples/ADXL345_run 5 | END 6 | -------------------------------------------------------------------------------- /libraries/adxl345driver/examples/ADXL345_run/.svn/entries: -------------------------------------------------------------------------------- 1 | 10 2 | 3 | dir 4 | 20 5 | https://adxl345driver.googlecode.com/svn/branches/fvaresano/examples/ADXL345_run 6 | https://adxl345driver.googlecode.com/svn 7 | 8 | 9 | 10 | 2011-02-19T23:45:41.513581Z 11 | 20 12 | fvaresano@yahoo.it 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | b27c3ce0-0281-d3e9-44ef-4ad108562bfb 28 | 29 | ADXL345_run.pde 30 | file 31 | 32 | 33 | 34 | 35 | 2011-02-19T23:44:06.000000Z 36 | bbddc2d535dd4d8be662d3cd6ac9be55 37 | 2011-02-19T23:45:41.513581Z 38 | 20 39 | fvaresano@yahoo.it 40 | has-props 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 1923 62 | 63 | cal.dat 64 | file 65 | 66 | 67 | 68 | 69 | 2011-02-19T23:43:09.000000Z 70 | 60c31d1189478399ec521b993f337a7e 71 | 2011-02-19T23:45:41.513581Z 72 | 20 73 | fvaresano@yahoo.it 74 | has-props 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 29855 96 | 97 | cal1.dat 98 | file 99 | 100 | 101 | 102 | 103 | 2011-02-19T23:43:09.000000Z 104 | f5afb517a92675d3df873c2067953610 105 | 2011-02-19T23:45:41.513581Z 106 | 20 107 | fvaresano@yahoo.it 108 | has-props 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 16714 130 | 131 | accel_cal.py 132 | file 133 | 134 | 135 | 136 | 137 | 2011-02-19T23:43:09.000000Z 138 | 5bf6a40dfe9b5104eaa7179869be5675 139 | 2011-02-19T23:45:41.513581Z 140 | 20 141 | fvaresano@yahoo.it 142 | has-props 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 1450 164 | 165 | -------------------------------------------------------------------------------- /libraries/adxl345driver/examples/ADXL345_run/.svn/prop-base/ADXL345_run.pde.svn-base: -------------------------------------------------------------------------------- 1 | K 14 2 | svn:executable 3 | V 1 4 | * 5 | END 6 | -------------------------------------------------------------------------------- /libraries/adxl345driver/examples/ADXL345_run/.svn/prop-base/accel_cal.py.svn-base: -------------------------------------------------------------------------------- 1 | K 14 2 | svn:executable 3 | V 1 4 | * 5 | END 6 | -------------------------------------------------------------------------------- /libraries/adxl345driver/examples/ADXL345_run/.svn/prop-base/cal.dat.svn-base: -------------------------------------------------------------------------------- 1 | K 14 2 | svn:executable 3 | V 1 4 | * 5 | END 6 | -------------------------------------------------------------------------------- /libraries/adxl345driver/examples/ADXL345_run/.svn/prop-base/cal1.dat.svn-base: -------------------------------------------------------------------------------- 1 | K 14 2 | svn:executable 3 | V 1 4 | * 5 | END 6 | -------------------------------------------------------------------------------- /libraries/adxl345driver/examples/ADXL345_run/.svn/text-base/accel_cal.py.svn-base: -------------------------------------------------------------------------------- 1 | import scipy.optimize 2 | from pylab import * 3 | from numpy import * 4 | 5 | cal = open('cal1.dat') 6 | 7 | for f in [cal]: 8 | data = array([map(float, l.split()) for l in f.readlines()]) 9 | 10 | N = len(data[0]) 11 | 12 | x = data[:,0] 13 | y = data[:,1] 14 | z = data[:,2] 15 | data = data[:,:3] 16 | 17 | def cost(args): 18 | rs = diag(1. / array(args[0:3])) ** 2 19 | c = array(args[3:6]) 20 | m = data - array(c) 21 | out = 0 22 | for p in m: 23 | out += abs(dot(dot(p, rs), p) - 1) 24 | return out 25 | guess = array([250, 250, 250, 0, 0, 0]) 26 | print cost(guess) 27 | best = scipy.optimize.fmin(cost, guess) 28 | print cost(best) 29 | print best 30 | print 1/best[:3] 31 | 32 | here 33 | A = array([[cx + r * cos(theta), 34 | cy + r * sin(theta)] for theta in arange(0, 2 * pi, 1 * pi/180)]) 35 | # plot(A[:,0], A[:,1], 'g-') 36 | xy = data[:,1:3] 37 | 38 | def cost(params): 39 | cx, cy, r = params 40 | xy_ = xy - [cx, cy] 41 | thetas = arctan2(xy_[:,1], xy_[:,0]) 42 | resids = xy_ - transpose([r * cos(thetas), r * sin(thetas)]) 43 | return sum(ravel(resids ** 2)) 44 | 45 | cx, cy, r = scipy.optimize.fmin(cost, [cx, cy, r], disp=False) 46 | print f.name, cx, cy, r 47 | ## acc_cal_lights_on.dat 550.150958354 507.218838209 249.831129791 48 | ## acc_cal_lights_off.dat 563.391868993 518.281081432 251.367556713 49 | 50 | A = array([[cx + r * cos(theta), 51 | cy + r * sin(theta)] for theta in arange(0, 2 * pi, 1 * pi/180)]) 52 | plot(A[:,0], A[:,1]) 53 | -------------------------------------------------------------------------------- /libraries/adxl345driver/examples/ADXL345_run/accel_cal.py: -------------------------------------------------------------------------------- 1 | import scipy.optimize 2 | from pylab import * 3 | from numpy import * 4 | 5 | cal = open('cal1.dat') 6 | 7 | for f in [cal]: 8 | data = array([map(float, l.split()) for l in f.readlines()]) 9 | 10 | N = len(data[0]) 11 | 12 | x = data[:,0] 13 | y = data[:,1] 14 | z = data[:,2] 15 | data = data[:,:3] 16 | 17 | def cost(args): 18 | rs = diag(1. / array(args[0:3])) ** 2 19 | c = array(args[3:6]) 20 | m = data - array(c) 21 | out = 0 22 | for p in m: 23 | out += abs(dot(dot(p, rs), p) - 1) 24 | return out 25 | guess = array([250, 250, 250, 0, 0, 0]) 26 | print cost(guess) 27 | best = scipy.optimize.fmin(cost, guess) 28 | print cost(best) 29 | print best 30 | print 1/best[:3] 31 | 32 | here 33 | A = array([[cx + r * cos(theta), 34 | cy + r * sin(theta)] for theta in arange(0, 2 * pi, 1 * pi/180)]) 35 | # plot(A[:,0], A[:,1], 'g-') 36 | xy = data[:,1:3] 37 | 38 | def cost(params): 39 | cx, cy, r = params 40 | xy_ = xy - [cx, cy] 41 | thetas = arctan2(xy_[:,1], xy_[:,0]) 42 | resids = xy_ - transpose([r * cos(thetas), r * sin(thetas)]) 43 | return sum(ravel(resids ** 2)) 44 | 45 | cx, cy, r = scipy.optimize.fmin(cost, [cx, cy, r], disp=False) 46 | print f.name, cx, cy, r 47 | ## acc_cal_lights_on.dat 550.150958354 507.218838209 249.831129791 48 | ## acc_cal_lights_off.dat 563.391868993 518.281081432 251.367556713 49 | 50 | A = array([[cx + r * cos(theta), 51 | cy + r * sin(theta)] for theta in arange(0, 2 * pi, 1 * pi/180)]) 52 | plot(A[:,0], A[:,1]) 53 | -------------------------------------------------------------------------------- /libraries/adxl345driver/examples/ADXL345_test/.svn/all-wcprops: -------------------------------------------------------------------------------- 1 | K 25 2 | svn:wc:ra_dav:version-url 3 | V 57 4 | /svn/!svn/ver/19/branches/fvaresano/examples/ADXL345_test 5 | END 6 | ADXL345_test.pde 7 | K 25 8 | svn:wc:ra_dav:version-url 9 | V 74 10 | /svn/!svn/ver/19/branches/fvaresano/examples/ADXL345_test/ADXL345_test.pde 11 | END 12 | -------------------------------------------------------------------------------- /libraries/adxl345driver/examples/ADXL345_test/.svn/entries: -------------------------------------------------------------------------------- 1 | 10 2 | 3 | dir 4 | 19 5 | https://adxl345driver.googlecode.com/svn/branches/fvaresano/examples/ADXL345_test 6 | https://adxl345driver.googlecode.com/svn 7 | 8 | 9 | 10 | 2010-05-25T01:24:23.907376Z 11 | 12 12 | wyojustin 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | b27c3ce0-0281-d3e9-44ef-4ad108562bfb 28 | 29 | ADXL345_test.pde 30 | file 31 | 32 | 33 | 34 | 35 | 2011-02-19T23:41:41.000000Z 36 | 64c6d70ca022bf46da77dad3eb9c87cd 37 | 2010-05-25T01:24:23.907376Z 38 | 12 39 | wyojustin 40 | has-props 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 6741 62 | 63 | -------------------------------------------------------------------------------- /libraries/adxl345driver/examples/ADXL345_test/.svn/prop-base/ADXL345_test.pde.svn-base: -------------------------------------------------------------------------------- 1 | K 14 2 | svn:executable 3 | V 1 4 | * 5 | END 6 | -------------------------------------------------------------------------------- /libraries/bma180/bma180.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _BMA180_h 3 | #define _BMA180_h 4 | 5 | #include 6 | /* 7 | extern "C" { 8 | #include <../Wire/Wire.h> 9 | 10 | } 11 | */ 12 | 13 | #define BMA180_ADDRESS_SDO_LOW 0x40 14 | #define BMA180_ADDRESS_SDO_HIGH 0x41 15 | 16 | class BMA180 17 | { 18 | public: 19 | typedef enum {F10HZ=0,F20HZ=1,F40HZ, F75HZ,F15HZ0,F300HZ,F600HZ,F1200HZ,HIGHPASS,BANDPASS} FILTER; 20 | typedef enum {G1=0,G15=1,G2,G3,G4,G8,G16}GSENSITIVITY; 21 | private: 22 | unsigned char address; 23 | GSENSITIVITY gSense; 24 | public: 25 | 26 | int x,y,z; // yes, public, what the heck 27 | int temp; 28 | 29 | BMA180(); 30 | 31 | void setAddress(int val); 32 | void readAccel(int * buff); 33 | void readAccel(int * x, int * y, int * z); 34 | 35 | float getGSense(); 36 | float getXValFloat(); 37 | float getYValFloat(); 38 | float getZValFloat(); 39 | void setRegValue(int regAdr, int val, int maskPreserve); 40 | int getRegValue(int adr); 41 | void setGSensitivty(GSENSITIVITY maxg); 42 | void SetFilter(FILTER f); 43 | void SetISRMode(); 44 | void SoftReset(); 45 | void SetSMPSkip(); 46 | int getIDs(int *id, int *version); 47 | void enableWrite(); 48 | void disableWrite(); 49 | virtual bool checkResult(int result); 50 | }; 51 | 52 | 53 | #endif //_BMA180_h 54 | -------------------------------------------------------------------------------- /libraries/bma180/examples/BMA180_simple/BMA180_simple.pde: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | BMA180 bma180 = BMA180(BMA180_ADDRESS_SDO_LOW); 5 | 6 | void setup() 7 | { 8 | Wire.begin(); 9 | Serial.begin(115200); 10 | bma180.SoftReset(); 11 | bma180.enableWrite(); 12 | bma180.SetFilter(bma180.F10HZ); 13 | bma180.setGSensitivty(bma180.G15); 14 | bma180.SetSMPSkip(); 15 | bma180.SetISRMode(); 16 | bma180.disableWrite(); 17 | delay(100); 18 | } 19 | 20 | void loop() 21 | { 22 | bma180.readAccel(); 23 | Serial.print(bma180.x,DEC); 24 | Serial.print(","); 25 | Serial.print(bma180.y,DEC); 26 | Serial.print(","); 27 | Serial.println(bma180.z,DEC); 28 | delay(20); 29 | } 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /libraries/bma180/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map for BMA180 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | BMA180 KEYWORD1 10 | GSENSITIVITY KEYWORD1 11 | FILTER KEYWORD1 12 | 13 | ####################################### 14 | # Methods and Functions (KEYWORD2) 15 | ####################################### 16 | 17 | setAddress KEYWORD2 18 | readAccel KEYWORD2 19 | getGSense KEYWORD2 20 | getXValFloat KEYWORD2 21 | getYValFloat KEYWORD2 22 | getZValFloat KEYWORD2 23 | setRegValue KEYWORD2 24 | getRegValue KEYWORD2 25 | setGSensitivity KEYWORD2 26 | setFilter KEYWORD2 27 | setISRMode KEYWORD2 28 | softReset KEYWORD2 29 | setSMPSkip KEYWORD2 30 | getIDs KEYWORD2 31 | enableWrite KEYWORD2 32 | disableWrite KEYWORD2 33 | ####################################### 34 | # Constants (LITERAL1) 35 | ####################################### 36 | checkResult KEYWORD3 37 | F10HZ KEYWORD3 38 | F20HZ KEYWORD3 39 | F75HZ KEYWORD3 40 | F15HZ0 KEYWORD3 41 | F300HZ KEYWORD3 42 | F600HZ KEYWORD3 43 | F1200HZ KEYWORD3 44 | G1 KEYWORD3 45 | G15 KEYWORD3 46 | G2 KEYWORD3 47 | G3 KEYWORD3 48 | G4 KEYWORD3 49 | G8 KEYWORD3 50 | G16 KEYWORD3 -------------------------------------------------------------------------------- /libraries/bmp085driver/.svn/all-wcprops: -------------------------------------------------------------------------------- 1 | K 25 2 | svn:wc:ra_dav:version-url 3 | V 22 4 | /svn/!svn/ver/26/trunk 5 | END 6 | BMP085.h 7 | K 25 8 | svn:wc:ra_dav:version-url 9 | V 31 10 | /svn/!svn/ver/26/trunk/BMP085.h 11 | END 12 | COPYING.LESSER 13 | K 25 14 | svn:wc:ra_dav:version-url 15 | V 36 16 | /svn/!svn/ver/3/trunk/COPYING.LESSER 17 | END 18 | INSTALL.txt 19 | K 25 20 | svn:wc:ra_dav:version-url 21 | V 34 22 | /svn/!svn/ver/10/trunk/INSTALL.txt 23 | END 24 | keywords.txt 25 | K 25 26 | svn:wc:ra_dav:version-url 27 | V 35 28 | /svn/!svn/ver/10/trunk/keywords.txt 29 | END 30 | COPYING 31 | K 25 32 | svn:wc:ra_dav:version-url 33 | V 29 34 | /svn/!svn/ver/3/trunk/COPYING 35 | END 36 | BMP085.cpp 37 | K 25 38 | svn:wc:ra_dav:version-url 39 | V 33 40 | /svn/!svn/ver/26/trunk/BMP085.cpp 41 | END 42 | -------------------------------------------------------------------------------- /libraries/bmp085driver/.svn/dir-prop-base: -------------------------------------------------------------------------------- 1 | K 13 2 | svn:mergeinfo 3 | V 45 4 | /branches/v03:19-22,24-25 5 | /branches/v03ema:23 6 | END 7 | -------------------------------------------------------------------------------- /libraries/bmp085driver/.svn/text-base/BMP085.cpp.svn-base: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/bmp085driver/.svn/text-base/BMP085.cpp.svn-base -------------------------------------------------------------------------------- /libraries/bmp085driver/.svn/text-base/BMP085.h.svn-base: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/bmp085driver/.svn/text-base/BMP085.h.svn-base -------------------------------------------------------------------------------- /libraries/bmp085driver/.svn/text-base/INSTALL.txt.svn-base: -------------------------------------------------------------------------------- 1 | Copy the whole directory which contain this file into the folder "libraries" inside the Arduino sketchbook folder. 2 | 3 | You can understand the location of your sketchbook folder from the Arduino IDE clicking on File -> Preferences: the "sketchbook location" is what you are looking for. 4 | 5 | In case you don't have an "libraries" folder there just create an empty one. 6 | 7 | 8 | For more informations see: 9 | http://www.arduino.cc/en/Reference/Libraries -------------------------------------------------------------------------------- /libraries/bmp085driver/.svn/text-base/keywords.txt.svn-base: -------------------------------------------------------------------------------- 1 | BMP085 KEYWORD1 2 | init KEYWORD2 3 | getDevAddr KEYWORD2 4 | getMode KEYWORD2 5 | setMode KEYWORD2 6 | setLocalPressure KEYWORD2 7 | setLocalAbsAlt KEYWORD2 8 | setAltOffset KEYWORD2 9 | sethPaOffset KEYWORD2 10 | zeroCal KEYWORD2 11 | getPressure KEYWORD2 12 | getAltitude KEYWORD2 13 | getTemperature KEYWORD2 14 | calcTrueTemperature KEYWORD2 15 | calcTruePressure KEYWORD2 16 | dumpCalData KEYWORD2 17 | writemem KEYWORD2 18 | readmem KEYWORD2 -------------------------------------------------------------------------------- /libraries/bmp085driver/BMP085.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/bmp085driver/BMP085.cpp -------------------------------------------------------------------------------- /libraries/bmp085driver/BMP085.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/bmp085driver/BMP085.h -------------------------------------------------------------------------------- /libraries/bmp085driver/INSTALL.txt: -------------------------------------------------------------------------------- 1 | Copy the whole directory which contain this file into the folder "libraries" inside the Arduino sketchbook folder. 2 | 3 | You can understand the location of your sketchbook folder from the Arduino IDE clicking on File -> Preferences: the "sketchbook location" is what you are looking for. 4 | 5 | In case you don't have an "libraries" folder there just create an empty one. 6 | 7 | 8 | For more informations see: 9 | http://www.arduino.cc/en/Reference/Libraries -------------------------------------------------------------------------------- /libraries/bmp085driver/examples/.svn/all-wcprops: -------------------------------------------------------------------------------- 1 | K 25 2 | svn:wc:ra_dav:version-url 3 | V 31 4 | /svn/!svn/ver/26/trunk/examples 5 | END 6 | -------------------------------------------------------------------------------- /libraries/bmp085driver/examples/.svn/entries: -------------------------------------------------------------------------------- 1 | 10 2 | 3 | dir 4 | 27 5 | http://bmp085driver.googlecode.com/svn/trunk/examples 6 | http://bmp085driver.googlecode.com/svn 7 | 8 | 9 | 10 | 2011-03-26T00:15:08.173336Z 11 | 26 12 | fil.vieira@gmail.com 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 43391e3e-6b59-17a6-64d1-a79cdfe6ffa7 28 | 29 | BMP085_test1 30 | dir 31 | 32 | BMP085_output 33 | dir 34 | 35 | BMP085_test2 36 | dir 37 | 38 | -------------------------------------------------------------------------------- /libraries/bmp085driver/examples/BMP085_output/.svn/all-wcprops: -------------------------------------------------------------------------------- 1 | K 25 2 | svn:wc:ra_dav:version-url 3 | V 45 4 | /svn/!svn/ver/17/trunk/examples/BMP085_output 5 | END 6 | BMP085_output.pde 7 | K 25 8 | svn:wc:ra_dav:version-url 9 | V 63 10 | /svn/!svn/ver/17/trunk/examples/BMP085_output/BMP085_output.pde 11 | END 12 | -------------------------------------------------------------------------------- /libraries/bmp085driver/examples/BMP085_output/.svn/entries: -------------------------------------------------------------------------------- 1 | 10 2 | 3 | dir 4 | 27 5 | http://bmp085driver.googlecode.com/svn/trunk/examples/BMP085_output 6 | http://bmp085driver.googlecode.com/svn 7 | 8 | 9 | 10 | 2011-02-24T20:58:33.861619Z 11 | 17 12 | fil.vieira@gmail.com 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 43391e3e-6b59-17a6-64d1-a79cdfe6ffa7 28 | 29 | BMP085_output.pde 30 | file 31 | 32 | 33 | 34 | 35 | 2011-07-14T19:33:44.000000Z 36 | 6604abbe572397458b5306851e1aa502 37 | 2011-02-24T20:58:33.861619Z 38 | 17 39 | fil.vieira@gmail.com 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 2755 62 | 63 | -------------------------------------------------------------------------------- /libraries/bmp085driver/examples/BMP085_test1/.svn/all-wcprops: -------------------------------------------------------------------------------- 1 | K 25 2 | svn:wc:ra_dav:version-url 3 | V 44 4 | /svn/!svn/ver/26/trunk/examples/BMP085_test1 5 | END 6 | BMP085_test1.pde 7 | K 25 8 | svn:wc:ra_dav:version-url 9 | V 61 10 | /svn/!svn/ver/26/trunk/examples/BMP085_test1/BMP085_test1.pde 11 | END 12 | -------------------------------------------------------------------------------- /libraries/bmp085driver/examples/BMP085_test1/.svn/entries: -------------------------------------------------------------------------------- 1 | 10 2 | 3 | dir 4 | 27 5 | http://bmp085driver.googlecode.com/svn/trunk/examples/BMP085_test1 6 | http://bmp085driver.googlecode.com/svn 7 | 8 | 9 | 10 | 2011-03-26T00:15:08.173336Z 11 | 26 12 | fil.vieira@gmail.com 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 43391e3e-6b59-17a6-64d1-a79cdfe6ffa7 28 | 29 | BMP085_test1.pde 30 | file 31 | 32 | 33 | 34 | 35 | 2011-07-14T19:33:44.000000Z 36 | eb9f860e79f58d9bc027f91723b5a21d 37 | 2011-03-26T00:15:08.173336Z 38 | 26 39 | fil.vieira@gmail.com 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 1683 62 | 63 | -------------------------------------------------------------------------------- /libraries/bmp085driver/examples/BMP085_test1/.svn/text-base/BMP085_test1.pde.svn-base: -------------------------------------------------------------------------------- 1 | // BMP085_test1 2 | // by Filipe Vieira 3 | // Simple test of BMP085 output using default settings. 4 | // This example requires AUTO_UPDATE_TEMPERATURE to be true in bmp085.h otherwise temperature will not update. 5 | // IMPORTANT!! To get correct values you MUST CHANGE init() parameters, in 6 | // this example I've set 250m based on GPS data for my location. 7 | 8 | #include 9 | #include 10 | 11 | BMP085 dps = BMP085(); // Digital Pressure Sensor 12 | 13 | long Temperature = 0, Pressure = 0, Altitude = 0; 14 | 15 | void setup(void) { 16 | Serial.begin(9600); 17 | Wire.begin(); 18 | delay(1000); 19 | 20 | // uncomment for different initialization settings 21 | //dps.init(); // QFE (Field Elevation above ground level) is set to 0 meters. 22 | // same as init(MODE_STANDARD, 0, true); 23 | 24 | //dps.init(MODE_STANDARD, 101850, false); // 101850Pa = 1018.50hPa, false = using Pa units 25 | // this initialization is useful for normalizing pressure to specific datum. 26 | // OR setting current local hPa information from a weather station/local airport (QNH). 27 | 28 | dps.init(MODE_ULTRA_HIGHRES, 25000, true); // 250 meters, true = using meter units 29 | // this initialization is useful if current altitude is known, 30 | // pressure will be calculated based on TruePressure and known altitude. 31 | 32 | // note: use zeroCal only after initialization. 33 | // dps.zeroCal(101800, 0); // set zero point 34 | } 35 | 36 | void loop(void) { 37 | dps.getPressure(&Pressure); 38 | dps.getAltitude(&Altitude); 39 | 40 | Serial.print(" Alt(cm):"); 41 | Serial.print(Altitude); 42 | Serial.print(" Pressure(Pa):"); 43 | Serial.println(Pressure); 44 | } -------------------------------------------------------------------------------- /libraries/bmp085driver/examples/BMP085_test1/BMP085_test1.pde: -------------------------------------------------------------------------------- 1 | // BMP085_test1 2 | // by Filipe Vieira 3 | // Simple test of BMP085 output using default settings. 4 | // This example requires AUTO_UPDATE_TEMPERATURE to be true in bmp085.h otherwise temperature will not update. 5 | // IMPORTANT!! To get correct values you MUST CHANGE init() parameters, in 6 | // this example I've set 250m based on GPS data for my location. 7 | 8 | #include 9 | #include 10 | 11 | BMP085 dps = BMP085(); // Digital Pressure Sensor 12 | 13 | long Temperature = 0, Pressure = 0, Altitude = 0; 14 | 15 | void setup(void) { 16 | Serial.begin(9600); 17 | Wire.begin(); 18 | delay(1000); 19 | 20 | // uncomment for different initialization settings 21 | //dps.init(); // QFE (Field Elevation above ground level) is set to 0 meters. 22 | // same as init(MODE_STANDARD, 0, true); 23 | 24 | //dps.init(MODE_STANDARD, 101850, false); // 101850Pa = 1018.50hPa, false = using Pa units 25 | // this initialization is useful for normalizing pressure to specific datum. 26 | // OR setting current local hPa information from a weather station/local airport (QNH). 27 | 28 | dps.init(MODE_ULTRA_HIGHRES, 25000, true); // 250 meters, true = using meter units 29 | // this initialization is useful if current altitude is known, 30 | // pressure will be calculated based on TruePressure and known altitude. 31 | 32 | // note: use zeroCal only after initialization. 33 | // dps.zeroCal(101800, 0); // set zero point 34 | } 35 | 36 | void loop(void) { 37 | dps.getPressure(&Pressure); 38 | dps.getAltitude(&Altitude); 39 | 40 | Serial.print(" Alt(cm):"); 41 | Serial.print(Altitude); 42 | Serial.print(" Pressure(Pa):"); 43 | Serial.println(Pressure); 44 | } -------------------------------------------------------------------------------- /libraries/bmp085driver/examples/BMP085_test2/.svn/all-wcprops: -------------------------------------------------------------------------------- 1 | K 25 2 | svn:wc:ra_dav:version-url 3 | V 44 4 | /svn/!svn/ver/26/trunk/examples/BMP085_test2 5 | END 6 | BMP085_test2.pde 7 | K 25 8 | svn:wc:ra_dav:version-url 9 | V 61 10 | /svn/!svn/ver/26/trunk/examples/BMP085_test2/BMP085_test2.pde 11 | END 12 | -------------------------------------------------------------------------------- /libraries/bmp085driver/examples/BMP085_test2/.svn/entries: -------------------------------------------------------------------------------- 1 | 10 2 | 3 | dir 4 | 27 5 | http://bmp085driver.googlecode.com/svn/trunk/examples/BMP085_test2 6 | http://bmp085driver.googlecode.com/svn 7 | 8 | 9 | 10 | 2011-03-26T00:15:08.173336Z 11 | 26 12 | fil.vieira@gmail.com 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 43391e3e-6b59-17a6-64d1-a79cdfe6ffa7 28 | 29 | BMP085_test2.pde 30 | file 31 | 32 | 33 | 34 | 35 | 2011-07-14T19:33:44.000000Z 36 | 568d11b3aa2e163ad9006b0fb2b0c367 37 | 2011-03-26T00:15:08.173336Z 38 | 26 39 | fil.vieira@gmail.com 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 2084 62 | 63 | -------------------------------------------------------------------------------- /libraries/bmp085driver/keywords.txt: -------------------------------------------------------------------------------- 1 | BMP085 KEYWORD1 2 | init KEYWORD2 3 | getDevAddr KEYWORD2 4 | getMode KEYWORD2 5 | setMode KEYWORD2 6 | setLocalPressure KEYWORD2 7 | setLocalAbsAlt KEYWORD2 8 | setAltOffset KEYWORD2 9 | sethPaOffset KEYWORD2 10 | zeroCal KEYWORD2 11 | getPressure KEYWORD2 12 | getAltitude KEYWORD2 13 | getTemperature KEYWORD2 14 | calcTrueTemperature KEYWORD2 15 | calcTruePressure KEYWORD2 16 | dumpCalData KEYWORD2 17 | writemem KEYWORD2 18 | readmem KEYWORD2 -------------------------------------------------------------------------------- /libraries/itg3200filv05/.svn/all-wcprops: -------------------------------------------------------------------------------- 1 | K 25 2 | svn:wc:ra_dav:version-url 3 | V 33 4 | /svn/!svn/ver/21/branches/filv0.5 5 | END 6 | COPYING.LESSER 7 | K 25 8 | svn:wc:ra_dav:version-url 9 | V 48 10 | /svn/!svn/ver/19/branches/filv0.5/COPYING.LESSER 11 | END 12 | INSTALL.txt 13 | K 25 14 | svn:wc:ra_dav:version-url 15 | V 45 16 | /svn/!svn/ver/21/branches/filv0.5/INSTALL.txt 17 | END 18 | keywords.txt 19 | K 25 20 | svn:wc:ra_dav:version-url 21 | V 46 22 | /svn/!svn/ver/20/branches/filv0.5/keywords.txt 23 | END 24 | COPYING 25 | K 25 26 | svn:wc:ra_dav:version-url 27 | V 41 28 | /svn/!svn/ver/19/branches/filv0.5/COPYING 29 | END 30 | ITG3200.cpp 31 | K 25 32 | svn:wc:ra_dav:version-url 33 | V 45 34 | /svn/!svn/ver/20/branches/filv0.5/ITG3200.cpp 35 | END 36 | ITG3200.h 37 | K 25 38 | svn:wc:ra_dav:version-url 39 | V 43 40 | /svn/!svn/ver/20/branches/filv0.5/ITG3200.h 41 | END 42 | -------------------------------------------------------------------------------- /libraries/itg3200filv05/.svn/dir-prop-base: -------------------------------------------------------------------------------- 1 | K 13 2 | svn:mergeinfo 3 | V 26 4 | /branches/fil.testing:6-11 5 | END 6 | -------------------------------------------------------------------------------- /libraries/itg3200filv05/.svn/text-base/INSTALL.txt.svn-base: -------------------------------------------------------------------------------- 1 | Copy the whole directory which contain this file into the folder "libraries" inside the Arduino sketchbook folder. 2 | 3 | You can understand the location of your sketchbook folder from the Arduino IDE clicking on File -> Preferences: the "sketchbook location" is what you are looking for. 4 | 5 | In case you don't have an "libraries" folder there just create an empty one. 6 | 7 | 8 | For more informations see: 9 | http://www.arduino.cc/en/Reference/Libraries -------------------------------------------------------------------------------- /libraries/itg3200filv05/.svn/text-base/keywords.txt.svn-base: -------------------------------------------------------------------------------- 1 | ITG3200 KEYWORD1 2 | init KEYWORD2 3 | getDevAddr KEYWORD2 4 | setDevAddr KEYWORD2 5 | getSampleRateDiv KEYWORD2 6 | setSampleRateDiv KEYWORD2 7 | getFSRange KEYWORD2 8 | setFSRange KEYWORD2 9 | getFilterBW KEYWORD2 10 | setFilterBW KEYWORD2 11 | isINTActiveOnLow KEYWORD2 12 | setINTLogiclvl KEYWORD2 13 | isINTOpenDrain KEYWORD2 14 | setINTDriveType KEYWORD2 15 | isLatchUntilCleared KEYWORD2 16 | setLatchMode KEYWORD2 17 | isAnyRegClrMode KEYWORD2 18 | setLatchClearMode KEYWORD2 19 | isITGReadyOn KEYWORD2 20 | setITGReady KEYWORD2 21 | isRawDataReadyOn KEYWORD2 22 | setRawDataReady KEYWORD2 23 | isITGReady KEYWORD2 24 | isRawDataReady KEYWORD2 25 | readTemp KEYWORD2 26 | readGyroRaw KEYWORD2 27 | setRevPolarity KEYWORD2 28 | setGains KEYWORD2 29 | setOffsets KEYWORD2 30 | zeroCalibrate KEYWORD2 31 | readGyro KEYWORD2 32 | reset KEYWORD2 33 | isLowPower KEYWORD2 34 | isXgyroStandby KEYWORD2 35 | isYgyroStandby KEYWORD2 36 | isZgyroStandby KEYWORD2 37 | setXgyroStandby KEYWORD2 38 | setYgyroStandby KEYWORD2 39 | setZgyroStandby KEYWORD2 40 | getClockSource KEYWORD2 41 | setClockSource KEYWORD2 42 | 43 | -------------------------------------------------------------------------------- /libraries/itg3200filv05/INSTALL.txt: -------------------------------------------------------------------------------- 1 | Copy the whole directory which contain this file into the folder "libraries" inside the Arduino sketchbook folder. 2 | 3 | You can understand the location of your sketchbook folder from the Arduino IDE clicking on File -> Preferences: the "sketchbook location" is what you are looking for. 4 | 5 | In case you don't have an "libraries" folder there just create an empty one. 6 | 7 | 8 | For more informations see: 9 | http://www.arduino.cc/en/Reference/Libraries -------------------------------------------------------------------------------- /libraries/itg3200filv05/examples/.svn/all-wcprops: -------------------------------------------------------------------------------- 1 | K 25 2 | svn:wc:ra_dav:version-url 3 | V 42 4 | /svn/!svn/ver/20/branches/filv0.5/examples 5 | END 6 | -------------------------------------------------------------------------------- /libraries/itg3200filv05/examples/.svn/entries: -------------------------------------------------------------------------------- 1 | 10 2 | 3 | dir 4 | 21 5 | http://itg-3200driver.googlecode.com/svn/branches/filv0.5/examples 6 | http://itg-3200driver.googlecode.com/svn 7 | 8 | 9 | 10 | 2011-01-29T00:09:59.594782Z 11 | 20 12 | fil.vieira@gmail.com 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 22a28579-7601-a4d6-4e27-2ab7c477863e 28 | 29 | ITG3200_test 30 | dir 31 | 32 | ITG3200_output 33 | dir 34 | 35 | -------------------------------------------------------------------------------- /libraries/itg3200filv05/examples/ITG3200_output/.svn/all-wcprops: -------------------------------------------------------------------------------- 1 | K 25 2 | svn:wc:ra_dav:version-url 3 | V 57 4 | /svn/!svn/ver/20/branches/filv0.5/examples/ITG3200_output 5 | END 6 | ITG3200_output.pde 7 | K 25 8 | svn:wc:ra_dav:version-url 9 | V 76 10 | /svn/!svn/ver/20/branches/filv0.5/examples/ITG3200_output/ITG3200_output.pde 11 | END 12 | -------------------------------------------------------------------------------- /libraries/itg3200filv05/examples/ITG3200_output/.svn/entries: -------------------------------------------------------------------------------- 1 | 10 2 | 3 | dir 4 | 21 5 | http://itg-3200driver.googlecode.com/svn/branches/filv0.5/examples/ITG3200_output 6 | http://itg-3200driver.googlecode.com/svn 7 | 8 | 9 | 10 | 2011-01-29T00:09:59.594782Z 11 | 20 12 | fil.vieira@gmail.com 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 22a28579-7601-a4d6-4e27-2ab7c477863e 28 | 29 | ITG3200_output.pde 30 | file 31 | 32 | 33 | 34 | 35 | 2011-02-03T11:46:14.000000Z 36 | 6aa97af8bbab29fa087262078c624f2b 37 | 2011-01-29T00:09:59.594782Z 38 | 20 39 | fil.vieira@gmail.com 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 6765 62 | 63 | -------------------------------------------------------------------------------- /libraries/itg3200filv05/examples/ITG3200_test/.svn/all-wcprops: -------------------------------------------------------------------------------- 1 | K 25 2 | svn:wc:ra_dav:version-url 3 | V 55 4 | /svn/!svn/ver/20/branches/filv0.5/examples/ITG3200_test 5 | END 6 | ITG3200_test.pde 7 | K 25 8 | svn:wc:ra_dav:version-url 9 | V 72 10 | /svn/!svn/ver/20/branches/filv0.5/examples/ITG3200_test/ITG3200_test.pde 11 | END 12 | -------------------------------------------------------------------------------- /libraries/itg3200filv05/examples/ITG3200_test/.svn/entries: -------------------------------------------------------------------------------- 1 | 10 2 | 3 | dir 4 | 21 5 | http://itg-3200driver.googlecode.com/svn/branches/filv0.5/examples/ITG3200_test 6 | http://itg-3200driver.googlecode.com/svn 7 | 8 | 9 | 10 | 2011-01-29T00:09:59.594782Z 11 | 20 12 | fil.vieira@gmail.com 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 22a28579-7601-a4d6-4e27-2ab7c477863e 28 | 29 | ITG3200_test.pde 30 | file 31 | 32 | 33 | 34 | 35 | 2011-02-03T11:46:14.000000Z 36 | 39c1c8b7946a53ff32db1fff085f956b 37 | 2011-01-29T00:09:59.594782Z 38 | 20 39 | fil.vieira@gmail.com 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 1202 62 | 63 | -------------------------------------------------------------------------------- /libraries/itg3200filv05/examples/ITG3200_test/.svn/text-base/ITG3200_test.pde.svn-base: -------------------------------------------------------------------------------- 1 | // ITG-3200_test 2 | // Copyright 2010-2011 Filipe Vieira & various contributors. 3 | // http://code.google.com/p/itg-3200driver 4 | // Simple test of gyro sensors output using default settings. 5 | 6 | #include 7 | #include 8 | 9 | ITG3200 gyro = ITG3200(); 10 | float x,y,z,temperature; 11 | 12 | void setup(void) { 13 | Serial.begin(9600); 14 | Wire.begin(); // if experiencing gyro problems/crashes while reading XYZ values 15 | // please read class constructor comments for further info. 16 | delay(1000); 17 | // Use ITG3200_ADDR_AD0_HIGH or ITG3200_ADDR_AD0_LOW as the ITG3200 address 18 | // depending on how AD0 is connected on your breakout board, check its schematics for details 19 | gyro.init(ITG3200_ADDR_AD0_HIGH); 20 | 21 | Serial.print("zeroCalibrating..."); 22 | gyro.zeroCalibrate(2500,2); 23 | Serial.println("done."); 24 | } 25 | 26 | void loop(void) { 27 | while (gyro.isRawDataReady()) { 28 | gyro.readTemp(&temperature); 29 | gyro.readGyro(&x,&y,&z); 30 | Serial.print("X:"); 31 | Serial.print(x); 32 | Serial.print(" Y:"); 33 | Serial.print(y); 34 | Serial.print(" Z:"); 35 | Serial.print(z); 36 | Serial.print(" T:"); 37 | Serial.println(temperature); 38 | } 39 | } 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /libraries/itg3200filv05/keywords.txt: -------------------------------------------------------------------------------- 1 | ITG3200 KEYWORD1 2 | init KEYWORD2 3 | getDevAddr KEYWORD2 4 | setDevAddr KEYWORD2 5 | getSampleRateDiv KEYWORD2 6 | setSampleRateDiv KEYWORD2 7 | getFSRange KEYWORD2 8 | setFSRange KEYWORD2 9 | getFilterBW KEYWORD2 10 | setFilterBW KEYWORD2 11 | isINTActiveOnLow KEYWORD2 12 | setINTLogiclvl KEYWORD2 13 | isINTOpenDrain KEYWORD2 14 | setINTDriveType KEYWORD2 15 | isLatchUntilCleared KEYWORD2 16 | setLatchMode KEYWORD2 17 | isAnyRegClrMode KEYWORD2 18 | setLatchClearMode KEYWORD2 19 | isITGReadyOn KEYWORD2 20 | setITGReady KEYWORD2 21 | isRawDataReadyOn KEYWORD2 22 | setRawDataReady KEYWORD2 23 | isITGReady KEYWORD2 24 | isRawDataReady KEYWORD2 25 | readTemp KEYWORD2 26 | readGyroRaw KEYWORD2 27 | setRevPolarity KEYWORD2 28 | setGains KEYWORD2 29 | setOffsets KEYWORD2 30 | zeroCalibrate KEYWORD2 31 | readGyro KEYWORD2 32 | reset KEYWORD2 33 | isLowPower KEYWORD2 34 | isXgyroStandby KEYWORD2 35 | isYgyroStandby KEYWORD2 36 | isZgyroStandby KEYWORD2 37 | setXgyroStandby KEYWORD2 38 | setYgyroStandby KEYWORD2 39 | setZgyroStandby KEYWORD2 40 | getClockSource KEYWORD2 41 | setClockSource KEYWORD2 42 | 43 | -------------------------------------------------------------------------------- /libraries/love_ADXL345/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For Matrix 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | ADXL345 KEYWORD1 10 | AccelerometerRaw KEYWORD1 11 | AccelerometerScaled KEYWORD1 12 | 13 | ####################################### 14 | # Methods and Functions (KEYWORD2) 15 | ####################################### 16 | 17 | ReadRawAxis KEYWORD2 18 | ReadScaledAxis KEYWORD2 19 | SetRange KEYWORD2 20 | EnableMeasurements KEYWORD2 21 | EnsureConnected KEYWORD2 22 | 23 | XAxis KEYWORD2 24 | YAxis KEYWORD2 25 | ZAxis KEYWORD2 26 | IsConnected KEYWORD2 27 | 28 | ####################################### 29 | # Constants (LITERAL1) 30 | ####################################### 31 | -------------------------------------------------------------------------------- /libraries/sdfat/html/class_print__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/landis/arduino/842bf1907507cb11179994be842756db463c701e/libraries/sdfat/html/class_print__inherit__graph.png -------------------------------------------------------------------------------- /params.json: -------------------------------------------------------------------------------- 1 | {"name":"Arduino","body":"Arduino Sketch Folder\r\n=====================\r\n\r\nSketches\r\n--------\r\n* `arduino/flight_telemetry` Flight Telemetry for Project SAPHE\r\n * Arduino MEGA 2560\r\n * [Sparkfun] (http://www.sparkfun.com/products/9694) BMP085 Barometric Pressure / Temperature / Altitude sensor\r\n * [Adafruit] (http://www.adafruit.com/products/243) Datalogger Shield\r\n * [Adafruit] (https://www.adafruit.com/products/757) logic level converter\r\n * [Adafruit] (https://www.adafruit.com/products/372) 10k thermistor\r\n * [Adafruit] (https://www.adafruit.com/products/746) Ultimate GPS (high altitude?)\r\n * [Adafruit] (https://www.adafruit.com/products/358) 1.8\" tft lcd\r\n\r\n* `arduino/reflow_oven` Solder reflow oven controller\r\n\t* [Black and Decker] (http://www.amazon.com/Black-Decker-FC300-Infrawave-Oven/dp/B001AX8F4Y/ref=sr_1_2?ie=UTF8&qid=1336673199&sr=8-2) Infrawave Oven\r\n\t* [Adafruit] (http://www.adafruit.com/products/269) MAX6675 Thermocouple Amplifier\r\n\t* [Adafruit] (http://www.adafruit.com/products/270) Thermocouple Type K\r\n\t* [Sparkfun] (http://www.sparkfun.com/products/709) 16x2 LCD (HD44780 chipset)\r\n\r\n\r\nLibraries\r\n---------\r\n* `arduino/libraries/Adafruit_BMP085` BMP085 Barometer/Thermometer library from Adafruit\r\n* `arduino/libraries/Adafruit_GFX` 1.8 Color TFT Graphics library from Adafruit\r\n* `arduino/libraries/Adafruit_GPS` Ultimate GPS Shield library from Adafruit\r\n* `arduino/libraries/Adafruit_ST7735` 1.8 Color TFT Driver library from Adafruit\r\n* `arduino/libraries/ADXL345` ADXL345 Accelerometer library\r\n* `arduino/libraries/MAX6675` Thermocouple library\r\n* `arduino/libraries/RTClib` DS1307 real time clock library\r\n* `arduino/libraries/SD` SD card library from Adafruit\r\n* `arduino/libraries/TinyGPS` Generic Serial GPS library","tagline":"Arduino sketches and libraries","google":"UA-31420479-1","note":"Don't delete this file! It's used internally to help with page regeneration."} -------------------------------------------------------------------------------- /reflow_oven/reflow_oven.scc: -------------------------------------------------------------------------------- 1 | [_setup_] 2 | port=COM4 3 | baudrate=57600 4 | 5 | width=1000 6 | height=301 7 | background_color = white 8 | 9 | grid_h_origin = 100 10 | grid_h_step = 10 11 | grid_h_color = #EEE 12 | grid_h_origin_color = #CCC 13 | 14 | grid_v_origin = 0 15 | grid_v_step = 10 16 | grid_v_color = #EEE 17 | grid_v_origin_color = transparent 18 | 19 | [_default_] 20 | min=0 21 | max=1 22 | 23 | [Time] 24 | color=transparent 25 | 26 | [Setpoint] 27 | color=blue 28 | 29 | [Input] 30 | color=red 31 | min=0 32 | max=255 33 | 34 | [Output] 35 | color=transparent --------------------------------------------------------------------------------