├── .gitignore ├── ESP8266Basic ├── Base64.cpp ├── Base64.h ├── BasicArray.ino ├── Classes.h ├── Commands.ino ├── ESP8266Basic.ino ├── Eval.ino ├── File_system_stuff.ino ├── Functions_and_var_management.ino ├── JSON.ino ├── OLED_Functs.ino ├── Pin_IO.ino ├── SMTP_EMAIL.INO ├── URL_Decoder.ino ├── WIFI_stuff.ino ├── Web_GUI_Stuff.ino ├── data_types.h ├── font.h └── readme.txt ├── Flasher ├── Build │ ├── 1M │ │ ├── 2.0.0-rc1.zip │ │ ├── ESP8266Basic.cpp.bin │ │ └── libraries_cicciocb.zip │ ├── 2M │ │ └── ESP8266Basic.cpp.bin │ ├── 4M │ │ └── ESP8266Basic.cpp.bin │ ├── 512k │ │ └── ESP8266Basic.cpp.bin │ └── Format_Flash │ │ ├── 1M.bin │ │ ├── 2M.bin │ │ ├── 4M.bin │ │ └── 512k.bin └── ESP_Basic_Flasher.exe ├── README.md └── libraries ├── Adafruit_GFX_Library ├── Adafruit_GFX.cpp ├── Adafruit_GFX.h ├── Fonts │ ├── FreeMono12pt7b.h │ ├── FreeMono18pt7b.h │ ├── FreeMono24pt7b.h │ ├── FreeMono9pt7b.h │ ├── FreeMonoBold12pt7b.h │ ├── FreeMonoBold18pt7b.h │ ├── FreeMonoBold24pt7b.h │ ├── FreeMonoBold9pt7b.h │ ├── FreeMonoBoldOblique12pt7b.h │ ├── FreeMonoBoldOblique18pt7b.h │ ├── FreeMonoBoldOblique24pt7b.h │ ├── FreeMonoBoldOblique9pt7b.h │ ├── FreeMonoOblique12pt7b.h │ ├── FreeMonoOblique18pt7b.h │ ├── FreeMonoOblique24pt7b.h │ ├── FreeMonoOblique9pt7b.h │ ├── FreeSans12pt7b.h │ ├── FreeSans18pt7b.h │ ├── FreeSans24pt7b.h │ ├── FreeSans9pt7b.h │ ├── FreeSansBold12pt7b.h │ ├── FreeSansBold18pt7b.h │ ├── FreeSansBold24pt7b.h │ ├── FreeSansBold9pt7b.h │ ├── FreeSansBoldOblique12pt7b.h │ ├── FreeSansBoldOblique18pt7b.h │ ├── FreeSansBoldOblique24pt7b.h │ ├── FreeSansBoldOblique9pt7b.h │ ├── FreeSansOblique12pt7b.h │ ├── FreeSansOblique18pt7b.h │ ├── FreeSansOblique24pt7b.h │ ├── FreeSansOblique9pt7b.h │ ├── FreeSerif12pt7b.h │ ├── FreeSerif18pt7b.h │ ├── FreeSerif24pt7b.h │ ├── FreeSerif9pt7b.h │ ├── FreeSerifBold12pt7b.h │ ├── FreeSerifBold18pt7b.h │ ├── FreeSerifBold24pt7b.h │ ├── FreeSerifBold9pt7b.h │ ├── FreeSerifBoldItalic12pt7b.h │ ├── FreeSerifBoldItalic18pt7b.h │ ├── FreeSerifBoldItalic24pt7b.h │ ├── FreeSerifBoldItalic9pt7b.h │ ├── FreeSerifItalic12pt7b.h │ ├── FreeSerifItalic18pt7b.h │ ├── FreeSerifItalic24pt7b.h │ ├── FreeSerifItalic9pt7b.h │ └── TomThumb.h ├── README.md ├── README.txt ├── fontconvert │ ├── Makefile │ ├── fontconvert.c │ └── makefonts.sh ├── gfxfont.h ├── glcdfont.c ├── library.properties └── license.txt ├── Adafruit_Graphic_VFD_Display_Library ├── Adafruit_GP9002.cpp ├── Adafruit_GP9002.h ├── README.txt ├── examples │ └── GraphicVFDtest │ │ ├── GraphicVFDtest.pde │ │ └── adabmp.c ├── library.properties └── license.txt ├── Adafruit_ILI9341 ├── Adafruit_ILI9341.cpp ├── Adafruit_ILI9341.h ├── README.txt ├── examples │ ├── breakouttouchpaint │ │ └── breakouttouchpaint.ino │ ├── graphicstest │ │ └── graphicstest.ino │ ├── graphicstest_esp8266 │ │ └── graphicstest.ino │ ├── onoffbutton │ │ └── onoffbutton.ino │ ├── onoffbutton_breakout │ │ └── onoffbutton_breakout.ino │ ├── spitftbitmap │ │ └── spitftbitmap.ino │ └── touchpaint │ │ └── touchpaint.ino └── library.properties ├── Adafruit_MQTT_Library ├── .travis.yml ├── Adafruit_MQTT.cpp ├── Adafruit_MQTT.h ├── Adafruit_MQTT_CC3000.h ├── Adafruit_MQTT_Client.cpp ├── Adafruit_MQTT_Client.h ├── Adafruit_MQTT_FONA.h ├── LICENSE ├── README.md ├── examples │ ├── mqtt_cc3k │ │ ├── .due.test.skip │ │ ├── .esp8266.test.skip │ │ ├── cc3000helper.cpp │ │ └── mqtt_cc3k.ino │ ├── mqtt_esp8266 │ │ ├── .due.test.skip │ │ ├── .leonardo.test.skip │ │ ├── .uno.test.skip │ │ └── mqtt_esp8266.ino │ ├── mqtt_ethernet │ │ ├── .due.test.skip │ │ ├── .esp8266.test.skip │ │ └── mqtt_ethernet.ino │ ├── mqtt_fona │ │ ├── .due.test.skip │ │ ├── .esp8266.test.skip │ │ ├── fonahelper.cpp │ │ └── mqtt_fona.ino │ └── mqtt_yun │ │ ├── .due.test.skip │ │ └── mqtt_yun.ino └── library.properties ├── Adafruit_NeoMatrix ├── Adafruit_NeoMatrix.cpp ├── Adafruit_NeoMatrix.h ├── COPYING ├── README.md ├── examples │ ├── matrixtest │ │ └── matrixtest.pde │ └── tiletest │ │ └── tiletest.pde ├── extras │ └── gamma.c ├── gamma.h └── library.properties ├── Adafruit_NeoPixel ├── .travis.yml ├── Adafruit_NeoPixel.cpp ├── Adafruit_NeoPixel.h ├── COPYING ├── README.md ├── esp8266.c ├── examples │ ├── buttoncycler │ │ ├── .esp8266.test.skip │ │ └── buttoncycler.ino │ ├── simple │ │ ├── .esp8266.test.skip │ │ └── simple.ino │ └── strandtest │ │ ├── .esp8266.test.skip │ │ └── strandtest.ino ├── keywords.txt └── library.properties ├── Adafruit_SSD1306 ├── Adafruit_SSD1306.cpp ├── Adafruit_SSD1306.h ├── README.txt ├── examples │ ├── ssd1306_128x32_i2c │ │ └── ssd1306_128x32_i2c.ino │ ├── ssd1306_128x32_spi │ │ └── ssd1306_128x32_spi.ino │ ├── ssd1306_128x64_i2c │ │ └── ssd1306_128x64_i2c.ino │ └── ssd1306_128x64_spi │ │ └── ssd1306_128x64_spi.ino ├── library.properties └── license.txt ├── Adafruit_STMPE610 ├── Adafruit_STMPE610.cpp ├── Adafruit_STMPE610.h ├── README.txt ├── examples │ └── TouchTest │ │ └── TouchTest.ino └── library.properties ├── Adafruit_TiCoServo ├── Adafruit_TiCoServo.cpp ├── Adafruit_TiCoServo.h ├── README.md ├── examples │ ├── TiCoServo_Test │ │ └── TiCoServo_Test.ino │ └── TiCoServo_Test_Trinket_Gemma │ │ └── TiCoServo_Test_Trinket_Gemma.ino ├── known_16bit_timers.h └── library.properties ├── DHT_sensor_library ├── DHT.cpp ├── DHT.h ├── README.md ├── examples │ └── DHTtester │ │ └── DHTtester.ino ├── keywords.txt └── library.properties ├── Expression_Parser ├── LICENSE ├── README.md ├── expression_parser_string.cpp └── expression_parser_string.h ├── FTOLED ├── .gitignore ├── FTOLED.cpp ├── FTOLED.h ├── FTOLED_BMP.cpp ├── FTOLED_Colours.h ├── FTOLED_Text.cpp ├── FTOLED_TextBox.cpp ├── LICENSE ├── README.md ├── bin2header.py ├── examples │ ├── Makefile │ ├── all_drawing_operations │ │ ├── Makefile │ │ └── all_drawing_operations.ino │ ├── countdown │ │ ├── Makefile │ │ └── countdown.ino │ ├── demo_logo │ │ ├── Label.bmp │ │ ├── Makefile │ │ └── demo_logo.ino │ ├── flames │ │ ├── Makefile │ │ ├── flames.ino │ │ └── frames │ │ │ ├── 000.bmp │ │ │ ├── 001.bmp │ │ │ ├── 002.bmp │ │ │ ├── 003.bmp │ │ │ ├── 004.bmp │ │ │ ├── 005.bmp │ │ │ ├── 006.bmp │ │ │ ├── 007.bmp │ │ │ ├── 008.bmp │ │ │ ├── 009.bmp │ │ │ ├── 010.bmp │ │ │ ├── 011.bmp │ │ │ ├── 012.bmp │ │ │ ├── 013.bmp │ │ │ ├── 014.bmp │ │ │ ├── 015.bmp │ │ │ ├── 016.bmp │ │ │ ├── 017.bmp │ │ │ ├── 018.bmp │ │ │ ├── 019.bmp │ │ │ ├── 020.bmp │ │ │ ├── 021.bmp │ │ │ ├── 022.bmp │ │ │ ├── 023.bmp │ │ │ ├── 024.bmp │ │ │ ├── 025.bmp │ │ │ ├── 026.bmp │ │ │ ├── 027.bmp │ │ │ ├── 028.bmp │ │ │ ├── 029.bmp │ │ │ ├── 030.bmp │ │ │ ├── 031.bmp │ │ │ ├── 032.bmp │ │ │ ├── 033.bmp │ │ │ ├── 034.bmp │ │ │ ├── 035.bmp │ │ │ ├── 036.bmp │ │ │ ├── 037.bmp │ │ │ ├── 038.bmp │ │ │ ├── 039.bmp │ │ │ ├── 040.bmp │ │ │ ├── 041.bmp │ │ │ ├── 042.bmp │ │ │ ├── 043.bmp │ │ │ ├── 044.bmp │ │ │ ├── 045.bmp │ │ │ ├── 046.bmp │ │ │ ├── 047.bmp │ │ │ ├── 048.bmp │ │ │ ├── 049.bmp │ │ │ ├── 050.bmp │ │ │ ├── 051.bmp │ │ │ ├── 052.bmp │ │ │ ├── 053.bmp │ │ │ ├── 054.bmp │ │ │ ├── 055.bmp │ │ │ ├── 056.bmp │ │ │ ├── 057.bmp │ │ │ ├── 058.bmp │ │ │ ├── 059.bmp │ │ │ ├── 060.bmp │ │ │ ├── 061.bmp │ │ │ ├── 062.bmp │ │ │ └── 063.bmp │ ├── fonts_demo │ │ ├── Makefile │ │ └── fonts_demo.ino │ ├── loremipsum │ │ ├── Makefile │ │ └── loremipsum.ino │ ├── moodlight │ │ ├── Makefile │ │ └── moodlight.ino │ ├── sprite │ │ ├── Makefile │ │ ├── frames.h │ │ └── sprite.ino │ ├── stripchart │ │ ├── Makefile │ │ └── stripchart.ino │ └── tankgame │ │ ├── frames.h │ │ └── tankgame.ino ├── fonts │ ├── Arial14.h │ ├── Arial_Black_16.h │ ├── Droid_Sans_12.h │ ├── Droid_Sans_128.h │ ├── Droid_Sans_16.h │ ├── Droid_Sans_24.h │ ├── Droid_Sans_36.h │ ├── Droid_Sans_64.h │ ├── Droid_Sans_96.h │ └── SystemFont5x7.h ├── library.properties └── progmem_compat.h ├── IRremoteESP8266 ├── Contributors.md ├── IRremoteESP8266.cpp ├── IRremoteESP8266.h ├── IRremoteInt.h ├── LICENSE.txt ├── README.md ├── examples │ ├── IRServer │ │ └── IRServer.ino │ ├── IRrecvDemo │ │ └── IRrecvDemo.ino │ ├── IRrecvDump │ │ └── IRrecvDump.ino │ ├── IRrecvDumpV2 │ │ └── IRrecvDumpV2.ino │ ├── IRsendDemo │ │ └── IRsendDemo.ino │ └── JVCPanasonicSendDemo │ │ └── JVCPanasonicSendDemo.ino ├── keywords.txt ├── library.json └── library.properties ├── LedControl ├── LICENSE ├── README.md ├── examples │ ├── LCDemo7Segment │ │ └── LCDemo7Segment.ino │ ├── LCDemoCascadedDevices │ │ └── LCDemoCascadedDevices.ino │ └── LCDemoMatrix │ │ └── LCDemoMatrix.ino ├── keywords.txt ├── library.properties └── src │ ├── LedControl.cpp │ └── LedControl.h ├── LiquidCrystal ├── FastIO.cpp ├── FastIO.h ├── I2CIO.cpp ├── I2CIO.h ├── LCD.cpp ├── LCD.h ├── LiquidCrystal.cpp ├── LiquidCrystal.h ├── LiquidCrystal_I2C.cpp ├── LiquidCrystal_I2C.h ├── LiquidCrystal_SR.cpp ├── LiquidCrystal_SR.h ├── LiquidCrystal_SR2W.cpp ├── LiquidCrystal_SR2W.h ├── LiquidCrystal_SR3W.cpp ├── LiquidCrystal_SR3W.h ├── docs │ ├── .DS_Store │ ├── Doxyfile │ ├── def │ │ ├── doxygen.def │ │ └── doxygen.def.txt │ └── html │ │ ├── .DS_Store │ │ ├── _fast_i_o_8cpp.html │ │ ├── _fast_i_o_8cpp_source.html │ │ ├── _fast_i_o_8h.html │ │ ├── _fast_i_o_8h_source.html │ │ ├── _i2_c_i_o_8cpp.html │ │ ├── _i2_c_i_o_8cpp_source.html │ │ ├── _i2_c_i_o_8h.html │ │ ├── _i2_c_i_o_8h_source.html │ │ ├── _l_c_d_8cpp.html │ │ ├── _l_c_d_8cpp_source.html │ │ ├── _l_c_d_8h.html │ │ ├── _l_c_d_8h_source.html │ │ ├── _liquid_crystal_8cpp.html │ │ ├── _liquid_crystal_8cpp_source.html │ │ ├── _liquid_crystal_8h.html │ │ ├── _liquid_crystal_8h_source.html │ │ ├── _liquid_crystal___i2_c_8cpp.html │ │ ├── _liquid_crystal___i2_c_8cpp_source.html │ │ ├── _liquid_crystal___i2_c_8h.html │ │ ├── _liquid_crystal___i2_c_8h_source.html │ │ ├── _liquid_crystal___s_r2_w_8cpp.html │ │ ├── _liquid_crystal___s_r2_w_8cpp_source.html │ │ ├── _liquid_crystal___s_r2_w_8h.html │ │ ├── _liquid_crystal___s_r2_w_8h_source.html │ │ ├── _liquid_crystal___s_r3_w_8cpp.html │ │ ├── _liquid_crystal___s_r3_w_8cpp_source.html │ │ ├── _liquid_crystal___s_r3_w_8h.html │ │ ├── _liquid_crystal___s_r3_w_8h_source.html │ │ ├── _liquid_crystal___s_r_8cpp.html │ │ ├── _liquid_crystal___s_r_8cpp_source.html │ │ ├── _liquid_crystal___s_r_8h.html │ │ ├── _liquid_crystal___s_r_8h_source.html │ │ ├── _liquid_crystal___s_r___l_c_d3_8cpp.html │ │ ├── _liquid_crystal___s_r___l_c_d3_8cpp_source.html │ │ ├── _liquid_crystal___s_r___l_c_d3_8h.html │ │ ├── _liquid_crystal___s_r___l_c_d3_8h_source.html │ │ ├── annotated.html │ │ ├── bc_s.png │ │ ├── class_i2_c_i_o-members.html │ │ ├── class_i2_c_i_o.html │ │ ├── class_l_c_d-members.html │ │ ├── class_l_c_d.html │ │ ├── class_l_c_d.png │ │ ├── class_liquid_crystal-members.html │ │ ├── class_liquid_crystal.html │ │ ├── class_liquid_crystal.png │ │ ├── class_liquid_crystal___i2_c-members.html │ │ ├── class_liquid_crystal___i2_c.html │ │ ├── class_liquid_crystal___i2_c.png │ │ ├── class_liquid_crystal___s_r-members.html │ │ ├── class_liquid_crystal___s_r.html │ │ ├── class_liquid_crystal___s_r.png │ │ ├── class_liquid_crystal___s_r2_w-members.html │ │ ├── class_liquid_crystal___s_r2_w.html │ │ ├── class_liquid_crystal___s_r2_w.png │ │ ├── class_liquid_crystal___s_r3_w-members.html │ │ ├── class_liquid_crystal___s_r3_w.html │ │ ├── class_liquid_crystal___s_r3_w.png │ │ ├── class_liquid_crystal___s_r___l_c_d3-members.html │ │ ├── class_liquid_crystal___s_r___l_c_d3.html │ │ ├── class_liquid_crystal___s_r___l_c_d3.png │ │ ├── classes.html │ │ ├── closed.png │ │ ├── doxygen.css │ │ ├── doxygen.png │ │ ├── files.html │ │ ├── functions.html │ │ ├── functions_func.html │ │ ├── functions_vars.html │ │ ├── globals.html │ │ ├── globals_defs.html │ │ ├── globals_enum.html │ │ ├── globals_eval.html │ │ ├── globals_func.html │ │ ├── globals_type.html │ │ ├── hierarchy.html │ │ ├── index.html │ │ ├── installdox │ │ ├── jquery.js │ │ ├── logoGoogle.jpg │ │ ├── nav_f.png │ │ ├── nav_h.png │ │ ├── open.png │ │ ├── search │ │ ├── all_5f.html │ │ ├── all_61.html │ │ ├── all_62.html │ │ ├── all_63.html │ │ ├── all_64.html │ │ ├── all_65.html │ │ ├── all_66.html │ │ ├── all_68.html │ │ ├── all_69.html │ │ ├── all_6c.html │ │ ├── all_6d.html │ │ ├── all_6e.html │ │ ├── all_6f.html │ │ ├── all_70.html │ │ ├── all_72.html │ │ ├── all_73.html │ │ ├── all_74.html │ │ ├── all_77.html │ │ ├── classes_69.html │ │ ├── classes_6c.html │ │ ├── close.png │ │ ├── defines_5f.html │ │ ├── defines_61.html │ │ ├── defines_62.html │ │ ├── defines_63.html │ │ ├── defines_64.html │ │ ├── defines_65.html │ │ ├── defines_66.html │ │ ├── defines_68.html │ │ ├── defines_6c.html │ │ ├── defines_72.html │ │ ├── defines_73.html │ │ ├── defines_74.html │ │ ├── enums_74.html │ │ ├── enumvalues_6e.html │ │ ├── enumvalues_70.html │ │ ├── files_66.html │ │ ├── files_69.html │ │ ├── files_6c.html │ │ ├── functions_61.html │ │ ├── functions_62.html │ │ ├── functions_63.html │ │ ├── functions_64.html │ │ ├── functions_65.html │ │ ├── functions_66.html │ │ ├── functions_68.html │ │ ├── functions_69.html │ │ ├── functions_6c.html │ │ ├── functions_6d.html │ │ ├── functions_6e.html │ │ ├── functions_6f.html │ │ ├── functions_70.html │ │ ├── functions_72.html │ │ ├── functions_73.html │ │ ├── functions_77.html │ │ ├── mag_sel.png │ │ ├── nomatches.html │ │ ├── search.css │ │ ├── search.js │ │ ├── search_l.png │ │ ├── search_m.png │ │ ├── search_r.png │ │ ├── typedefs_66.html │ │ └── variables_5f.html │ │ ├── tab_a.png │ │ ├── tab_b.png │ │ ├── tab_h.png │ │ ├── tab_s.png │ │ └── tabs.css ├── examples │ ├── .DS_Store │ ├── HelloWorld_4bit │ │ ├── .DS_Store │ │ └── HelloWorld_4bit.pde │ ├── HelloWorld_SR │ │ └── HelloWorld_SR.pde │ ├── HelloWorld_i2c │ │ └── HelloWorld_i2c.pde │ ├── LCDiSpeed │ │ ├── LCDiSpeed.pde │ │ └── LCDiSpeed.txt │ ├── SerialDisplay │ │ └── SerialDisplay.pde │ ├── i2cLCDextraIO │ │ ├── .DS_Store │ │ └── i2cLCDextraIO.pde │ ├── i2cLCDextraIO_tempLeonardo │ │ └── i2cLCDextraIO_tempLeonardo.ino │ └── performanceLCD │ │ ├── .DS_Store │ │ └── performanceLCD.pde └── keywords.txt ├── Micro_OLED_Breakout ├── .gitignore ├── LICENSE.md ├── README.md ├── examples │ ├── MicroOLED_Clock │ │ └── MicroOLED_Clock.ino │ ├── MicroOLED_Cube │ │ └── MicroOLED_Cube.ino │ ├── MicroOLED_Demo │ │ └── MicroOLED_Demo.ino │ ├── MicroOLED_DrawBitmap │ │ └── MicroOLED_DrawBitmap.ino │ └── MicroOLED_Hello │ │ └── MicroOLED_Hello.ino ├── keywords.txt ├── library.properties └── src │ ├── SFE_MicroOLED.cpp │ ├── SFE_MicroOLED.h │ ├── hardware.cpp │ └── util │ ├── 7segment.h │ ├── font5x7.h │ ├── font8x16.h │ └── fontlargenumber.h ├── PS2Keyboard ├── PS2Keyboard.cpp ├── PS2Keyboard.h ├── README.md ├── examples │ ├── International │ │ └── International.pde │ └── Simple_Test │ │ └── Simple_Test.pde ├── keywords.txt ├── library.json ├── library.properties └── utility │ └── int_pins.h ├── SparkFun_Micro_OLED_Breakout ├── .gitignore ├── LICENSE.md ├── README.md ├── examples │ ├── MicroOLED_Clock │ │ └── MicroOLED_Clock.ino │ ├── MicroOLED_Cube │ │ └── MicroOLED_Cube.ino │ ├── MicroOLED_Demo │ │ └── MicroOLED_Demo.ino │ ├── MicroOLED_DrawBitmap │ │ └── MicroOLED_DrawBitmap.ino │ └── MicroOLED_Hello │ │ └── MicroOLED_Hello.ino ├── keywords.txt ├── library.properties └── src │ ├── SFE_MicroOLED.cpp │ ├── SFE_MicroOLED.h │ ├── hardware.cpp │ └── util │ ├── 7segment.h │ ├── font5x7.h │ ├── font8x16.h │ └── fontlargenumber.h ├── ThingSpeak ├── README.md ├── examples │ ├── CheerLights │ │ └── CheerLights.ino │ ├── ReadLastTemperature │ │ └── ReadLastTemperature.ino │ ├── ReadPrivateChannel │ │ └── ReadPrivateChannel.ino │ ├── ReadWeatherStation │ │ └── ReadWeatherStation.ino │ ├── WriteMultipleVoltages │ │ └── WriteMultipleVoltages.ino │ └── WriteVoltage │ │ └── WriteVoltage.ino ├── extras │ ├── documentation │ │ ├── ThingSpeakLogo.jpg │ │ ├── _thing_speak_8h_source.html │ │ ├── annotated.html │ │ ├── arrowdown.png │ │ ├── arrowright.png │ │ ├── bc_s.png │ │ ├── bdwn.png │ │ ├── class_thing_speak_class.html │ │ ├── classes.html │ │ ├── closed.png │ │ ├── dir_339e8c1d13ed9d171a31356d80f51341.html │ │ ├── dir_9eb8a1162b9e86c4bf1f8e762bfe83d1.html │ │ ├── doc.png │ │ ├── doxygen.css │ │ ├── doxygen.png │ │ ├── dynsections.js │ │ ├── folderclosed.png │ │ ├── folderopen.png │ │ ├── functions.html │ │ ├── functions_func.html │ │ ├── index.html │ │ ├── jquery.js │ │ ├── nav_f.png │ │ ├── nav_g.png │ │ ├── nav_h.png │ │ ├── open.png │ │ ├── splitbar.png │ │ ├── sync_off.png │ │ ├── sync_on.png │ │ ├── tab_a.png │ │ ├── tab_b.png │ │ ├── tab_h.png │ │ ├── tab_s.png │ │ └── tabs.css │ └── test │ │ ├── testBegin │ │ └── testBegin.ino │ │ ├── testReadField │ │ └── testReadField.ino │ │ ├── testSetField │ │ └── testSetField.ino │ │ └── testWriteField │ │ └── testWriteField.ino ├── keywords.txt ├── library.properties ├── license.md └── src │ ├── ThingSpeak.cpp │ └── ThingSpeak.h ├── U8glib ├── README.md ├── examples │ ├── A2Printer │ │ └── A2Printer.ino │ ├── Bitmap │ │ └── Bitmap.ino │ ├── Chess │ │ └── Chess.ino │ ├── Console │ │ └── Console.ino │ ├── F │ │ └── F.ino │ ├── FPS │ │ └── FPS.ino │ ├── GraphicsTest │ │ └── GraphicsTest.ino │ ├── HelloWorld │ │ └── HelloWorld.ino │ ├── Menu │ │ └── Menu.ino │ ├── PrintTest │ │ └── PrintTest.ino │ ├── Rotation │ │ └── Rotation.ino │ ├── Scale │ │ └── Scale.ino │ ├── TextRotX │ │ └── TextRotX.ino │ ├── Touch4WSetup │ │ └── Touch4WSetup.ino │ ├── Touch4WTest │ │ └── Touch4WTest.ino │ ├── U8gLogo │ │ └── U8gLogo.ino │ └── XBM │ │ └── XBM.ino ├── extras │ ├── ChangeLog │ └── INSTALL.TXT ├── library.properties ├── license.txt └── src │ ├── U8glib.cpp │ ├── U8glib.h │ └── clib │ ├── chessengine.c │ ├── u8g.h │ ├── u8g_bitmap.c │ ├── u8g_circle.c │ ├── u8g_clip.c │ ├── u8g_com_api.c │ ├── u8g_com_api_16gr.c │ ├── u8g_com_arduino_attiny85_hw_spi.c │ ├── u8g_com_arduino_common.c │ ├── u8g_com_arduino_fast_parallel.c │ ├── u8g_com_arduino_hw_spi.c │ ├── u8g_com_arduino_hw_usart_spi.c │ ├── u8g_com_arduino_no_en_parallel.c │ ├── u8g_com_arduino_parallel.c │ ├── u8g_com_arduino_port_d_wr.c │ ├── u8g_com_arduino_ssd_i2c.c │ ├── u8g_com_arduino_st7920_custom.c │ ├── u8g_com_arduino_st7920_hw_spi.c │ ├── u8g_com_arduino_st7920_spi.c │ ├── u8g_com_arduino_std_sw_spi.c │ ├── u8g_com_arduino_sw_spi.c │ ├── u8g_com_arduino_t6963.c │ ├── u8g_com_arduino_uc_i2c.c │ ├── u8g_com_atmega_hw_spi.c │ ├── u8g_com_atmega_parallel.c │ ├── u8g_com_atmega_st7920_hw_spi.c │ ├── u8g_com_atmega_st7920_spi.c │ ├── u8g_com_atmega_sw_spi.c │ ├── u8g_com_i2c.c │ ├── u8g_com_io.c │ ├── u8g_com_msp430_hw_spi.c │ ├── u8g_com_null.c │ ├── u8g_com_raspberrypi_hw_spi.c │ ├── u8g_com_raspberrypi_ssd_i2c.c │ ├── u8g_com_std_sw_spi.c │ ├── u8g_cursor.c │ ├── u8g_delay.c │ ├── u8g_dev_a2_micro_printer.c │ ├── u8g_dev_flipdisc_2x7.c │ ├── u8g_dev_gprof.c │ ├── u8g_dev_ht1632.c │ ├── u8g_dev_ili9325d_320x240.c │ ├── u8g_dev_ks0108_128x64.c │ ├── u8g_dev_lc7981_160x80.c │ ├── u8g_dev_lc7981_240x128.c │ ├── u8g_dev_lc7981_240x64.c │ ├── u8g_dev_lc7981_320x64.c │ ├── u8g_dev_ld7032_60x32.c │ ├── u8g_dev_null.c │ ├── u8g_dev_pcd8544_84x48.c │ ├── u8g_dev_pcf8812_96x65.c │ ├── u8g_dev_sbn1661_122x32.c │ ├── u8g_dev_ssd1306_128x32.c │ ├── u8g_dev_ssd1306_128x64.c │ ├── u8g_dev_ssd1306_64x48.c │ ├── u8g_dev_ssd1309_128x64.c │ ├── u8g_dev_ssd1322_nhd31oled_bw.c │ ├── u8g_dev_ssd1322_nhd31oled_gr.c │ ├── u8g_dev_ssd1325_nhd27oled_bw.c │ ├── u8g_dev_ssd1325_nhd27oled_bw_new.c │ ├── u8g_dev_ssd1325_nhd27oled_gr.c │ ├── u8g_dev_ssd1325_nhd27oled_gr_new.c │ ├── u8g_dev_ssd1327_96x96_gr.c │ ├── u8g_dev_ssd1351_128x128.c │ ├── u8g_dev_ssd1353_160x128.c │ ├── u8g_dev_st7565_64128n.c │ ├── u8g_dev_st7565_dogm128.c │ ├── u8g_dev_st7565_dogm132.c │ ├── u8g_dev_st7565_lm6059.c │ ├── u8g_dev_st7565_lm6063.c │ ├── u8g_dev_st7565_nhd_c12832.c │ ├── u8g_dev_st7565_nhd_c12864.c │ ├── u8g_dev_st7687_c144mvgd.c │ ├── u8g_dev_st7920_128x64.c │ ├── u8g_dev_st7920_192x32.c │ ├── u8g_dev_st7920_202x32.c │ ├── u8g_dev_t6963_128x128.c │ ├── u8g_dev_t6963_128x64.c │ ├── u8g_dev_t6963_240x128.c │ ├── u8g_dev_t6963_240x64.c │ ├── u8g_dev_tls8204_84x48.c │ ├── u8g_dev_uc1601_c128032.c │ ├── u8g_dev_uc1608_240x128.c │ ├── u8g_dev_uc1608_240x64.c │ ├── u8g_dev_uc1610_dogxl160.c │ ├── u8g_dev_uc1611_dogm240.c │ ├── u8g_dev_uc1611_dogxl240.c │ ├── u8g_dev_uc1701_dogs102.c │ ├── u8g_dev_uc1701_mini12864.c │ ├── u8g_ellipse.c │ ├── u8g_font.c │ ├── u8g_font_data.c │ ├── u8g_line.c │ ├── u8g_ll_api.c │ ├── u8g_page.c │ ├── u8g_pb.c │ ├── u8g_pb14v1.c │ ├── u8g_pb16h1.c │ ├── u8g_pb16h2.c │ ├── u8g_pb16v1.c │ ├── u8g_pb16v2.c │ ├── u8g_pb32h1.c │ ├── u8g_pb8h1.c │ ├── u8g_pb8h1f.c │ ├── u8g_pb8h2.c │ ├── u8g_pb8h8.c │ ├── u8g_pb8v1.c │ ├── u8g_pb8v2.c │ ├── u8g_pbxh16.c │ ├── u8g_pbxh24.c │ ├── u8g_polygon.c │ ├── u8g_rect.c │ ├── u8g_rot.c │ ├── u8g_scale.c │ ├── u8g_state.c │ ├── u8g_u16toa.c │ ├── u8g_u8toa.c │ └── u8g_virtual_screen.c ├── dallas-temperature-control ├── DallasTemperature.cpp ├── DallasTemperature.h ├── README.TXT ├── change.txt ├── examples │ ├── Alarm │ │ └── Alarm.pde │ ├── AlarmHandler │ │ └── AlarmHandler.pde │ ├── Multiple │ │ └── Multiple.pde │ ├── Simple │ │ └── Simple.pde │ ├── Single │ │ └── Single.pde │ ├── Tester │ │ └── Tester.pde │ ├── WaitForConversion │ │ └── WaitForConversion.pde │ └── WaitForConversion2 │ │ └── WaitForConversion2.pde └── keywords.txt ├── espsoftwareserial ├── README.md ├── SoftwareSerial.cpp ├── SoftwareSerial.h ├── examples │ └── swsertest │ │ └── swsertest.ino ├── keywords.txt ├── library.json └── library.properties ├── expression_parser_string ├── expression_parser_string.cpp └── expression_parser_string.h └── readme.txt /.gitignore: -------------------------------------------------------------------------------- 1 | Flasher/esptool.exe 2 | *.orig -------------------------------------------------------------------------------- /ESP8266Basic/URL_Decoder.ino: -------------------------------------------------------------------------------- 1 | String GetRidOfurlCharacters(String urlChars) 2 | { 3 | int i; 4 | char c; 5 | const char *s; 6 | String result = ""; 7 | for (i = 0; i < urlChars.length(); i++) 8 | { 9 | if (urlChars[i] == '%') // if the char found is '%' 10 | { 11 | // start of encoded char 12 | //take the 2 chars following the % in hexadecimal and convert to char 13 | //if the value is 0, jumps considering that the % shall be left as is 14 | s = urlChars.substring(i + 1, i + 3).c_str(); // get the 'C' format of the string; this is required by strtol 15 | c = strtol(s, NULL, 16); // convert the 2-char string from Hex to char 16 | if (c != 0) // is not '0' ? 17 | { 18 | result.concat(c); // add the char to the result 19 | i += 2; 20 | } 21 | else 22 | { 23 | result.concat(urlChars[i]); // else take the original char 24 | } 25 | 26 | } 27 | else 28 | { 29 | result.concat(urlChars[i]); // else take the original char 30 | } 31 | } 32 | 33 | return result; 34 | 35 | } 36 | -------------------------------------------------------------------------------- /ESP8266Basic/data_types.h: -------------------------------------------------------------------------------- 1 | #define _INT32_ long 2 | #define _UINT32_ unsigned long 3 | #define _INT16_ int 4 | #define _UINT16_ unsigned int 5 | -------------------------------------------------------------------------------- /ESP8266Basic/readme.txt: -------------------------------------------------------------------------------- 1 | 2 | new commands implemented: 3 | 4 | - neopixel on pin 2 5 | add of the command : 6 | serial2begin speed - activate serial 2 output only on pin 2 (ex serial2begin 115200) 7 | serial2print 8 | serial2println 9 | 10 | readopenweather(api_url, index) : calibrated for the Weatherwebapi forecast, permit to choose the index from the list when several lines (message is too big) 11 | 12 | jasone(json_string,message_to_find) : ex jasone(buff,"temp.max") 13 | 14 | unixtime(time_in_unix_format) : decode the unix date time (used by openweatherapi) 15 | 16 | the basic files can be updated directly from the file manager (default.bas) 17 | 18 | speedup (5 x faster) 19 | 20 | save faster 21 | 22 | open don't fails anymore 23 | 24 | -------------------------------------------------------------------------------- /Flasher/Build/1M/2.0.0-rc1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/Flasher/Build/1M/2.0.0-rc1.zip -------------------------------------------------------------------------------- /Flasher/Build/1M/ESP8266Basic.cpp.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/Flasher/Build/1M/ESP8266Basic.cpp.bin -------------------------------------------------------------------------------- /Flasher/Build/1M/libraries_cicciocb.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/Flasher/Build/1M/libraries_cicciocb.zip -------------------------------------------------------------------------------- /Flasher/Build/2M/ESP8266Basic.cpp.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/Flasher/Build/2M/ESP8266Basic.cpp.bin -------------------------------------------------------------------------------- /Flasher/Build/4M/ESP8266Basic.cpp.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/Flasher/Build/4M/ESP8266Basic.cpp.bin -------------------------------------------------------------------------------- /Flasher/Build/512k/ESP8266Basic.cpp.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/Flasher/Build/512k/ESP8266Basic.cpp.bin -------------------------------------------------------------------------------- /Flasher/Build/Format_Flash/1M.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/Flasher/Build/Format_Flash/1M.bin -------------------------------------------------------------------------------- /Flasher/Build/Format_Flash/2M.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/Flasher/Build/Format_Flash/2M.bin -------------------------------------------------------------------------------- /Flasher/Build/Format_Flash/4M.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/Flasher/Build/Format_Flash/4M.bin -------------------------------------------------------------------------------- /Flasher/Build/Format_Flash/512k.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/Flasher/Build/Format_Flash/512k.bin -------------------------------------------------------------------------------- /Flasher/ESP_Basic_Flasher.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/Flasher/ESP_Basic_Flasher.exe -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Basic 2 | Basic Interpreter from scratch especialy for the ESP8266. 3 | 4 | http://esp8266basic.com 5 | 6 | http://www.esp8266basic.com/language-reference.html 7 | 8 | http://www.esp8266basic.com/flashing-instructions.html 9 | 10 | 11 | 12 | The libraries folder contains the libraries currently being used. 13 | Look at licence information for each. 14 | 15 | Compile using the arduino ESP8266 package using the staging version 2.0.0-rc1 16 | 17 | Special thanks to the people who have worked to extend and improve ESP BASIC. 18 | Contributers include MMiscool, Cicciob and Rotohammer. 19 | 20 | -------------------------------------------------------------------------------- /libraries/Adafruit_GFX_Library/README.md: -------------------------------------------------------------------------------- 1 | # Adafruit GFX Library 2 | 3 | This is the core graphics library for all our displays, providing a common set of graphics primitives (points, lines, circles, etc.). It needs to be paired with a hardware-specific library for each display device we carry (to handle the lower-level functions). 4 | 5 | Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit! 6 | 7 | Written by Limor Fried/Ladyada for Adafruit Industries. 8 | BSD license, check license.txt for more information. 9 | All text above must be included in any redistribution. 10 | 11 | Recent Arduino IDE releases include the Library Manager for easy installation. Otherwise, to download, click the DOWNLOAD ZIP button, uncompress and rename the uncompressed folder Adafruit_GFX. Confirm that the Adafruit_GFX folder contains Adafruit_GFX.cpp and Adafruit_GFX.h. Place the Adafruit_GFX library folder your /Libraries/ folder. You may need to create the Libraries subfolder if its your first library. Restart the IDE. 12 | 13 | # Useful Resources 14 | 15 | - Image2Code: This is a handy Java GUI utility to convert a BMP file into the array code necessary to display the image with the drawBitmap function. Check out the code at ehubin's GitHub repository: https://github.com/ehubin/Adafruit-GFX-Library/tree/master/Img2Code 16 | 17 | - drawXBitmap function: You can use the GIMP photo editor to save a .xbm file and use the array saved in the file to draw a bitmap with the drawXBitmap function. See the pull request here for more details: https://github.com/adafruit/Adafruit-GFX-Library/pull/31 18 | 19 | - 'Fonts' folder contains bitmap fonts for use with recent (1.1 and later) Adafruit_GFX. To use a font in your Arduino sketch, #include the corresponding .h file and pass address of GFXfont struct to setFont(). Pass NULL to revert to 'classic' fixed-space bitmap font. 20 | 21 | - 'fontconvert' folder contains a command-line tool for converting TTF fonts to Adafruit_GFX .h format. 22 | -------------------------------------------------------------------------------- /libraries/Adafruit_GFX_Library/README.txt: -------------------------------------------------------------------------------- 1 | This is the core graphics library for all our displays, providing a common set of graphics primitives (points, lines, circles, etc.). It needs to be paired with a hardware-specific library for each display device we carry (to handle the lower-level functions). 2 | 3 | Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit! 4 | 5 | Written by Limor Fried/Ladyada for Adafruit Industries. 6 | BSD license, check license.txt for more information. 7 | All text above must be included in any redistribution. 8 | 9 | To download, click the DOWNLOAD ZIP button, uncompress and rename the uncompressed folder Adafruit_GFX. Confirm that the Adafruit_GFX folder contains Adafruit_GFX.cpp and Adafruit_GFX.h 10 | 11 | Place the Adafruit_GFX library folder your /Libraries/ folder. You may need to create the Libraries subfolder if its your first library. Restart the IDE. 12 | 13 | Useful Resources 14 | ================ 15 | 16 | - Image2Code 17 | This is a handy Java GUI utility to convert a BMP file into the array code necessary to display the image with the drawBitmap function. Check out the code at ehubin's GitHub repository: 18 | https://github.com/ehubin/Adafruit-GFX-Library/tree/master/Img2Code 19 | 20 | - drawXBitmap function 21 | You can use the GIMP photo editor to save a .xbm file and use the array saved in the file to draw a bitmap with the drawXBitmap function. See the pull request here for more details: 22 | https://github.com/adafruit/Adafruit-GFX-Library/pull/31 23 | -------------------------------------------------------------------------------- /libraries/Adafruit_GFX_Library/fontconvert/Makefile: -------------------------------------------------------------------------------- 1 | all: fontconvert 2 | 3 | CC = gcc 4 | CFLAGS = -Wall -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I/usr/include 5 | LIBS = -lfreetype 6 | 7 | fontconvert: fontconvert.c 8 | $(CC) $(CFLAGS) $< $(LIBS) -o $@ 9 | strip $@ 10 | 11 | clean: 12 | rm -f fontconvert 13 | -------------------------------------------------------------------------------- /libraries/Adafruit_GFX_Library/fontconvert/makefonts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Ugly little Bash script, generates a set of .h files for GFX using 4 | # GNU FreeFont sources. There are three fonts: 'Mono' (Courier-like), 5 | # 'Sans' (Helvetica-like) and 'Serif' (Times-like); four styles: regular, 6 | # bold, oblique or italic, and bold+oblique or bold+italic; and four 7 | # sizes: 9, 12, 18 and 24 point. No real error checking or anything, 8 | # this just powers through all the combinations, calling the fontconvert 9 | # utility and redirecting the output to a .h file for each combo. 10 | 11 | # Adafruit_GFX repository does not include the source outline fonts 12 | # (huge zipfile, different license) but they're easily acquired: 13 | # http://savannah.gnu.org/projects/freefont/ 14 | 15 | convert=./fontconvert 16 | inpath=~/Desktop/freefont/ 17 | outpath=../Fonts/ 18 | fonts=(FreeMono FreeSans FreeSerif) 19 | styles=("" Bold Italic BoldItalic Oblique BoldOblique) 20 | sizes=(9 12 18 24) 21 | 22 | for f in ${fonts[*]} 23 | do 24 | for index in ${!styles[*]} 25 | do 26 | st=${styles[$index]} 27 | for si in ${sizes[*]} 28 | do 29 | infile=$inpath$f$st".ttf" 30 | if [ -f $infile ] # Does source combination exist? 31 | then 32 | outfile=$outpath$f$st$si"pt7b.h" 33 | # printf "%s %s %s > %s\n" $convert $infile $si $outfile 34 | $convert $infile $si > $outfile 35 | fi 36 | done 37 | done 38 | done 39 | -------------------------------------------------------------------------------- /libraries/Adafruit_GFX_Library/gfxfont.h: -------------------------------------------------------------------------------- 1 | // Font structures for newer Adafruit_GFX (1.1 and later). 2 | // Example fonts are included in 'Fonts' directory. 3 | // To use a font in your Arduino sketch, #include the corresponding .h 4 | // file and pass address of GFXfont struct to setFont(). Pass NULL to 5 | // revert to 'classic' fixed-space bitmap font. 6 | 7 | #ifndef _GFXFONT_H_ 8 | #define _GFXFONT_H_ 9 | 10 | typedef struct { // Data stored PER GLYPH 11 | uint16_t bitmapOffset; // Pointer into GFXfont->bitmap 12 | uint8_t width, height; // Bitmap dimensions in pixels 13 | uint8_t xAdvance; // Distance to advance cursor (x axis) 14 | int8_t xOffset, yOffset; // Dist from cursor pos to UL corner 15 | } GFXglyph; 16 | 17 | typedef struct { // Data stored for FONT AS A WHOLE: 18 | uint8_t *bitmap; // Glyph bitmaps, concatenated 19 | GFXglyph *glyph; // Glyph array 20 | uint8_t first, last; // ASCII extents 21 | uint8_t yAdvance; // Newline distance (y axis) 22 | } GFXfont; 23 | 24 | #endif // _GFXFONT_H_ 25 | -------------------------------------------------------------------------------- /libraries/Adafruit_GFX_Library/library.properties: -------------------------------------------------------------------------------- 1 | name=Adafruit GFX Library 2 | version=1.1.5 3 | author=Adafruit 4 | maintainer=Adafruit 5 | sentence=Adafruit GFX graphics core library, this is the 'core' class that all our other graphics libraries derive from. 6 | paragraph=Install this library in addition to the display library for your hardware. 7 | category=Display 8 | url=https://github.com/adafruit/Adafruit-GFX-Library 9 | architectures=* 10 | -------------------------------------------------------------------------------- /libraries/Adafruit_GFX_Library/license.txt: -------------------------------------------------------------------------------- 1 | Software License Agreement (BSD License) 2 | 3 | Copyright (c) 2012 Adafruit Industries. All rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions are met: 7 | 8 | - Redistributions of source code must retain the above copyright notice, 9 | this list of conditions and the following disclaimer. 10 | - Redistributions in binary form must reproduce the above copyright notice, 11 | this list of conditions and the following disclaimer in the documentation 12 | and/or other materials provided with the distribution. 13 | 14 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 15 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 18 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 19 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 20 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 21 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 22 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 23 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 24 | POSSIBILITY OF SUCH DAMAGE. 25 | -------------------------------------------------------------------------------- /libraries/Adafruit_Graphic_VFD_Display_Library/README.txt: -------------------------------------------------------------------------------- 1 | This is a library for our Monochrome 128x64 Graphical VFD 2 | 3 | Pick one up today in the adafruit shop! 4 | ------> http://www.adafruit.com/products/773 5 | 6 | These displays use SPI to communicate, 5 pins are required to 7 | interface 8 | 9 | Adafruit invests time and resources providing this open source code, 10 | please support Adafruit and open-source hardware by purchasing 11 | products from Adafruit! 12 | 13 | Written by Limor Fried/Ladyada for Adafruit Industries. 14 | BSD license, check license.txt for more information 15 | All text above must be included in any redistribution 16 | 17 | To download. click the DOWNLOADS button in the top right corner, rename the uncompressed folder Adafruit_GP9002. Check that the Adafruit_GP9002 folder contains Adafruit_GP9002.cpp and Adafruit_GP9002.h 18 | 19 | Place the Adafruit_GP9002 library folder your /libraries/ folder. You may need to create the libraries subfolder if its your first library. Restart the IDE. 20 | 21 | You will also have to download the Adafruit GFX Graphics core which does all the circles, text, rectangles, etc. You can get it from 22 | https://github.com/adafruit/Adafruit-GFX-Library 23 | and download/install that library as well -------------------------------------------------------------------------------- /libraries/Adafruit_Graphic_VFD_Display_Library/library.properties: -------------------------------------------------------------------------------- 1 | name=Adafruit Graphic VFD Display Library 2 | version=1.0.0 3 | author=Adafruit 4 | maintainer=Adafruit 5 | sentence=Adafruit's 128x64 Graphic VFD Display Library 6 | paragraph=Adafruit's 128x64 Graphic VFD Display Library 7 | category=Display 8 | url=https://github.com/adafruit/Adafruit-Graphic-VFD-Display-Library 9 | architectures=* 10 | -------------------------------------------------------------------------------- /libraries/Adafruit_Graphic_VFD_Display_Library/license.txt: -------------------------------------------------------------------------------- 1 | Software License Agreement (BSD License) 2 | 3 | Copyright (c) 2012, Adafruit Industries 4 | All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions are met: 8 | 1. Redistributions of source code must retain the above copyright 9 | notice, this list of conditions and the following disclaimer. 10 | 2. Redistributions in binary form must reproduce the above copyright 11 | notice, this list of conditions and the following disclaimer in the 12 | documentation and/or other materials provided with the distribution. 13 | 3. Neither the name of the copyright holders nor the 14 | names of its contributors may be used to endorse or promote products 15 | derived from this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY 18 | EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 19 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 20 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY 21 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 26 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | -------------------------------------------------------------------------------- /libraries/Adafruit_ILI9341/README.txt: -------------------------------------------------------------------------------- 1 | This is a library for the Adafruit ILI9341 display products 2 | 3 | This library works with the Adafruit 2.8" Touch Shield V2 (SPI) 4 | ----> http://www.adafruit.com/products/1651 5 | 6 | Check out the links above for our tutorials and wiring diagrams. 7 | These displays use SPI to communicate, 4 or 5 pins are required 8 | to interface (RST is optional). 9 | 10 | Adafruit invests time and resources providing this open source code, 11 | please support Adafruit and open-source hardware by purchasing 12 | products from Adafruit! 13 | 14 | Written by Limor Fried/Ladyada for Adafruit Industries. 15 | MIT license, all text above must be included in any redistribution 16 | 17 | To download. click the DOWNLOADS button in the top right corner, rename the uncompressed folder Adafruit_ILI9341. Check that the Adafruit_ILI9341 folder contains Adafruit_ILI9341.cpp and Adafruit_ILI9341. 18 | 19 | Place the Adafruit_ILI9341 library folder your arduinosketchfolder/libraries/ folder. You may need to create the libraries subfolder if its your first library. Restart the IDE 20 | 21 | Also requires the Adafruit_GFX library for Arduino. 22 | -------------------------------------------------------------------------------- /libraries/Adafruit_ILI9341/library.properties: -------------------------------------------------------------------------------- 1 | name=Adafruit ILI9341 2 | version=1.0.0 3 | author=Adafruit 4 | maintainer=Adafruit 5 | sentence=Library for Adafruit ILI9341 displays 6 | paragraph=Library for Adafruit ILI9341 displays 7 | category=Display 8 | url=https://github.com/adafruit/Adafruit_ILI9341 9 | architectures=* 10 | -------------------------------------------------------------------------------- /libraries/Adafruit_MQTT_Library/.travis.yml: -------------------------------------------------------------------------------- 1 | language: c 2 | sudo: false 3 | before_install: 4 | - source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh) 5 | install: 6 | - arduino --install-library "Adafruit SleepyDog Library,Adafruit FONA Library,Adafruit CC3000 Library" 7 | script: 8 | - build_main_platforms 9 | notifications: 10 | email: 11 | on_success: change 12 | on_failure: change 13 | -------------------------------------------------------------------------------- /libraries/Adafruit_MQTT_Library/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Adafruit Industries 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /libraries/Adafruit_MQTT_Library/README.md: -------------------------------------------------------------------------------- 1 | # Adafruit MQTT Library [![Build Status](https://travis-ci.org/adafruit/Adafruit_MQTT_Library.svg?branch=master)](https://travis-ci.org/adafruit/Adafruit_MQTT_Library) 2 | 3 | Arduino library for MQTT support, including access to Adafruit IO. Works with 4 | the Adafruit CC3000, FONA, Arduino Yun, ESP8266 Arduino platforms, and anything that supports 5 | Arduino's Client interface (like Ethernet shield). 6 | 7 | See included examples for how to use the library to access an MQTT service to 8 | publish and subscribe to feeds. Note that this does not support the full MQTT 9 | spec but is intended to support enough for QoS 0 and 1 publishing. 10 | 11 | Depends on the following other libraries depending on the target platform: 12 | 13 | - [Adafruit SleepyDog](https://github.com/adafruit/Adafruit_SleepyDog), watchdog 14 | library used by FONA and CC3000 code for reliability. 15 | 16 | - [Adafruit CC3000](https://github.com/adafruit/Adafruit_CC3000_Library), required 17 | for the CC3000 hardware. 18 | 19 | - [Adafruit FONA](https://github.com/adafruit/Adafruit_FONA_Library), required for 20 | the FONA hardware. 21 | 22 | Future todos: 23 | 24 | - Subscription callbacks 25 | 26 | - remove watchdog 27 | -------------------------------------------------------------------------------- /libraries/Adafruit_MQTT_Library/examples/mqtt_cc3k/.due.test.skip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/Adafruit_MQTT_Library/examples/mqtt_cc3k/.due.test.skip -------------------------------------------------------------------------------- /libraries/Adafruit_MQTT_Library/examples/mqtt_cc3k/.esp8266.test.skip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/Adafruit_MQTT_Library/examples/mqtt_cc3k/.esp8266.test.skip -------------------------------------------------------------------------------- /libraries/Adafruit_MQTT_Library/examples/mqtt_esp8266/.due.test.skip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/Adafruit_MQTT_Library/examples/mqtt_esp8266/.due.test.skip -------------------------------------------------------------------------------- /libraries/Adafruit_MQTT_Library/examples/mqtt_esp8266/.leonardo.test.skip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/Adafruit_MQTT_Library/examples/mqtt_esp8266/.leonardo.test.skip -------------------------------------------------------------------------------- /libraries/Adafruit_MQTT_Library/examples/mqtt_esp8266/.uno.test.skip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/Adafruit_MQTT_Library/examples/mqtt_esp8266/.uno.test.skip -------------------------------------------------------------------------------- /libraries/Adafruit_MQTT_Library/examples/mqtt_ethernet/.due.test.skip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/Adafruit_MQTT_Library/examples/mqtt_ethernet/.due.test.skip -------------------------------------------------------------------------------- /libraries/Adafruit_MQTT_Library/examples/mqtt_ethernet/.esp8266.test.skip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/Adafruit_MQTT_Library/examples/mqtt_ethernet/.esp8266.test.skip -------------------------------------------------------------------------------- /libraries/Adafruit_MQTT_Library/examples/mqtt_fona/.due.test.skip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/Adafruit_MQTT_Library/examples/mqtt_fona/.due.test.skip -------------------------------------------------------------------------------- /libraries/Adafruit_MQTT_Library/examples/mqtt_fona/.esp8266.test.skip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/Adafruit_MQTT_Library/examples/mqtt_fona/.esp8266.test.skip -------------------------------------------------------------------------------- /libraries/Adafruit_MQTT_Library/examples/mqtt_fona/fonahelper.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include "Adafruit_FONA.h" 3 | 4 | #define halt(s) { Serial.println(F( s )); while(1); } 5 | 6 | extern Adafruit_FONA fona; 7 | extern SoftwareSerial fonaSS; 8 | 9 | boolean FONAconnect(const __FlashStringHelper *apn, const __FlashStringHelper *username, const __FlashStringHelper *password) { 10 | Watchdog.enable(8000); 11 | Watchdog.reset(); 12 | 13 | Serial.println(F("Initializing FONA....(May take 3 seconds)")); 14 | 15 | fonaSS.begin(4800); // if you're using software serial 16 | 17 | if (! fona.begin(fonaSS)) { // can also try fona.begin(Serial1) 18 | Serial.println(F("Couldn't find FONA")); 19 | return false; 20 | } 21 | fonaSS.println("AT+CMEE=2"); 22 | Serial.println(F("FONA is OK")); 23 | Watchdog.reset(); 24 | Serial.println(F("Checking for network...")); 25 | while (fona.getNetworkStatus() != 1) { 26 | delay(500); 27 | } 28 | Watchdog.reset(); 29 | 30 | fona.setGPRSNetworkSettings(apn, username, password); 31 | 32 | Serial.println(F("Disabling GPRS")); 33 | fona.enableGPRS(false); 34 | 35 | Watchdog.reset(); 36 | Serial.println(F("Enabling GPRS")); 37 | if (!fona.enableGPRS(true)) { 38 | Serial.println(F("Failed to turn GPRS on")); 39 | return false; 40 | } 41 | Watchdog.reset(); 42 | 43 | return true; 44 | } 45 | 46 | -------------------------------------------------------------------------------- /libraries/Adafruit_MQTT_Library/examples/mqtt_yun/.due.test.skip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/Adafruit_MQTT_Library/examples/mqtt_yun/.due.test.skip -------------------------------------------------------------------------------- /libraries/Adafruit_MQTT_Library/library.properties: -------------------------------------------------------------------------------- 1 | name=Adafruit MQTT Library 2 | version=0.12.1 3 | author=Adafruit 4 | maintainer=Adafruit 5 | sentence=MQTT library that supports the CC3000, FONA, ESP8266, Yun, and generic Arduino Client hardware. 6 | paragraph=Simple MQTT library that supports the bare minimum to publish and subscribe to topics. 7 | category=Communication 8 | url=https://github.com/adafruit/Adafruit_MQTT_Library 9 | architectures=* 10 | -------------------------------------------------------------------------------- /libraries/Adafruit_NeoMatrix/README.md: -------------------------------------------------------------------------------- 1 | Adafruit_NeoMatrix. Whoa. 2 | ========================= 3 | 4 | Adafruit_GFX-compatible library for NeoPixel matrices and grids. Controls single and tiled NeoPixel displays such as the [Adafruit NeoPixel Shield][shield] or grids assembled from [Adafruit 60 LED/meter Digital LED strip][strip]. Requires Adafruit_NeoPixel and Adafruit_GFX libraries. 5 | 6 | After downloading, rename folder to 'Adafruit_NeoMatrix' and install in Arduino Libraries folder. Restart Arduino IDE, then open File->Sketchbook->Library->Adafruit_NeoMatrix->matrixtest sketch. 7 | 8 | [shield]: http://adafruit.com/products/1430 9 | [strip]: http://adafruit.com/products/1138 10 | -------------------------------------------------------------------------------- /libraries/Adafruit_NeoMatrix/extras/gamma.c: -------------------------------------------------------------------------------- 1 | // THIS IS NOT ARDUINO CODE -- DON'T INCLUDE IN YOUR SKETCH. It's a 2 | // command-line tool that outputs a gamma correction table to stdout; 3 | // redirect or copy and paste the results into header file for the 4 | // NeoMatrix library code. 5 | // Optional 1 parameter: bit depth (default=5, for 32 output levels). 6 | 7 | #include 8 | #include 9 | #include 10 | 11 | #define GAMMA 2.6 12 | 13 | int planes = 5; 14 | 15 | int main(int argc, char *argv[]) 16 | { 17 | int i, maxval; 18 | 19 | if(argc > 1) planes = atoi(argv[1]); 20 | 21 | maxval = (1 << planes) - 1; 22 | 23 | (void)printf( 24 | "#ifndef _GAMMA_H_\n" 25 | "#define _GAMMA_H_\n" 26 | "\n" 27 | "#ifdef __AVR\n" 28 | " #include \n" 29 | "#else\n" 30 | " #ifndef PROGMEM\n" 31 | " #define PROGMEM\n" 32 | " #endif\n" 33 | "#endif\n" 34 | "\n" 35 | "static const uint8_t PROGMEM\n" 36 | " gamma%d[] = {\n" 37 | " ", planes); 38 | 39 | for(i=0; i<=maxval; i++) { 40 | (void)printf("%3d", 41 | (int)(pow((float)i / (float)maxval, GAMMA) * 42 | (float)255.0 + 0.5)); 43 | if(i < maxval) (void)printf(((i & 15) == 15) ? ",\n " : ","); 44 | } 45 | 46 | (void)puts( 47 | "\n};\n\n" 48 | "#endif // _GAMMA_H_"); 49 | 50 | return 0; 51 | } 52 | -------------------------------------------------------------------------------- /libraries/Adafruit_NeoMatrix/gamma.h: -------------------------------------------------------------------------------- 1 | #ifndef _GAMMA_H_ 2 | #define _GAMMA_H_ 3 | 4 | #ifdef __AVR 5 | #include 6 | #elif defined(ESP8266) 7 | #include 8 | #else 9 | #ifndef PROGMEM 10 | #define PROGMEM 11 | #endif 12 | #endif 13 | 14 | static const uint8_t PROGMEM 15 | gamma5[] = { 16 | 0x00,0x01,0x02,0x03,0x05,0x07,0x09,0x0b, 17 | 0x0e,0x11,0x14,0x18,0x1d,0x22,0x28,0x2e, 18 | 0x36,0x3d,0x46,0x4f,0x59,0x64,0x6f,0x7c, 19 | 0x89,0x97,0xa6,0xb6,0xc7,0xd9,0xeb,0xff }, 20 | gamma6[] = { 21 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x08, 22 | 0x09,0x0a,0x0b,0x0d,0x0e,0x10,0x12,0x13, 23 | 0x15,0x17,0x19,0x1b,0x1d,0x20,0x22,0x25, 24 | 0x27,0x2a,0x2d,0x30,0x33,0x37,0x3a,0x3e, 25 | 0x41,0x45,0x49,0x4d,0x52,0x56,0x5b,0x5f, 26 | 0x64,0x69,0x6e,0x74,0x79,0x7f,0x85,0x8b, 27 | 0x91,0x97,0x9d,0xa4,0xab,0xb2,0xb9,0xc0, 28 | 0xc7,0xcf,0xd6,0xde,0xe6,0xee,0xf7,0xff }; 29 | 30 | #endif // _GAMMA_H_ 31 | -------------------------------------------------------------------------------- /libraries/Adafruit_NeoMatrix/library.properties: -------------------------------------------------------------------------------- 1 | name=Adafruit NeoMatrix 2 | version=1.0.1 3 | author=Adafruit 4 | maintainer=Adafruit 5 | sentence=Adafruit_GFX-compatible library for NeoPixel grids 6 | paragraph=Adafruit_GFX-compatible library for NeoPixel grids 7 | category=Display 8 | url=https://github.com/adafruit/Adafruit_NeoMatrix 9 | architectures=* 10 | -------------------------------------------------------------------------------- /libraries/Adafruit_NeoPixel/.travis.yml: -------------------------------------------------------------------------------- 1 | language: c 2 | sudo: false 3 | before_install: 4 | - source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh) 5 | script: 6 | - build_main_platforms 7 | - build_platform trinket 8 | notifications: 9 | email: 10 | on_success: change 11 | on_failure: change 12 | -------------------------------------------------------------------------------- /libraries/Adafruit_NeoPixel/README.md: -------------------------------------------------------------------------------- 1 | # Adafruit NeoPixel Library [![Build Status](https://travis-ci.org/adafruit/Adafruit_NeoPixel.svg?branch=master)](https://travis-ci.org/adafruit/Adafruit_NeoPixel) 2 | 3 | Arduino library for controlling single-wire-based LED pixels and strip such as the [Adafruit 60 LED/meter Digital LED strip][strip], the [Adafruit FLORA RGB Smart Pixel][flora], the [Adafruit Breadboard-friendly RGB Smart Pixel][pixel], the [Adafruit NeoPixel Stick][stick], and the [Adafruit NeoPixel Shield][shield]. 4 | 5 | After downloading, rename folder to 'Adafruit_NeoPixel' and install in Arduino Libraries folder. Restart Arduino IDE, then open File->Sketchbook->Library->Adafruit_NeoPixel->strandtest sketch. 6 | 7 | [flora]: http://adafruit.com/products/1060 8 | [strip]: http://adafruit.com/products/1138 9 | [pixel]: http://adafruit.com/products/1312 10 | [stick]: http://adafruit.com/products/1426 11 | [shield]: http://adafruit.com/products/1430 12 | -------------------------------------------------------------------------------- /libraries/Adafruit_NeoPixel/examples/buttoncycler/.esp8266.test.skip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/Adafruit_NeoPixel/examples/buttoncycler/.esp8266.test.skip -------------------------------------------------------------------------------- /libraries/Adafruit_NeoPixel/examples/simple/.esp8266.test.skip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/Adafruit_NeoPixel/examples/simple/.esp8266.test.skip -------------------------------------------------------------------------------- /libraries/Adafruit_NeoPixel/examples/simple/simple.ino: -------------------------------------------------------------------------------- 1 | // NeoPixel Ring simple sketch (c) 2013 Shae Erisson 2 | // released under the GPLv3 license to match the rest of the AdaFruit NeoPixel library 3 | 4 | #include 5 | #ifdef __AVR__ 6 | #include 7 | #endif 8 | 9 | // Which pin on the Arduino is connected to the NeoPixels? 10 | // On a Trinket or Gemma we suggest changing this to 1 11 | #define PIN 6 12 | 13 | // How many NeoPixels are attached to the Arduino? 14 | #define NUMPIXELS 16 15 | 16 | // When we setup the NeoPixel library, we tell it how many pixels, and which pin to use to send signals. 17 | // Note that for older NeoPixel strips you might need to change the third parameter--see the strandtest 18 | // example for more information on possible values. 19 | Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800); 20 | 21 | int delayval = 500; // delay for half a second 22 | 23 | void setup() { 24 | // This is for Trinket 5V 16MHz, you can remove these three lines if you are not using a Trinket 25 | #if defined (__AVR_ATtiny85__) 26 | if (F_CPU == 16000000) clock_prescale_set(clock_div_1); 27 | #endif 28 | // End of trinket special code 29 | 30 | pixels.begin(); // This initializes the NeoPixel library. 31 | } 32 | 33 | void loop() { 34 | 35 | // For a set of NeoPixels the first NeoPixel is 0, second is 1, all the way up to the count of pixels minus one. 36 | 37 | for(int i=0;i 5 | sentence=Arduino library for controlling single-wire-based LED pixels and strip. 6 | paragraph=Arduino library for controlling single-wire-based LED pixels and strip. 7 | category=Display 8 | url=https://github.com/adafruit/Adafruit_NeoPixel 9 | architectures=* 10 | -------------------------------------------------------------------------------- /libraries/Adafruit_SSD1306/README.txt: -------------------------------------------------------------------------------- 1 | This is a library for our Monochrome OLEDs based on SSD1306 drivers 2 | 3 | Pick one up today in the adafruit shop! 4 | ------> http://www.adafruit.com/category/63_98 5 | 6 | These displays use SPI to communicate, 4 or 5 pins are required to 7 | interface 8 | 9 | Adafruit invests time and resources providing this open source code, 10 | please support Adafruit and open-source hardware by purchasing 11 | products from Adafruit! 12 | 13 | Written by Limor Fried/Ladyada for Adafruit Industries. 14 | Scrolling code contributed by Michael Gregg 15 | BSD license, check license.txt for more information 16 | All text above must be included in any redistribution 17 | 18 | To download. click the DOWNLOADS button in the top right corner, rename the uncompressed folder Adafruit_SSD1306. Check that the Adafruit_SSD1306 folder contains Adafruit_SSD1306.cpp and Adafruit_SSD1306.h 19 | 20 | Place the Adafruit_SSD1306 library folder your /libraries/ folder. You may need to create the libraries subfolder if its your first library. Restart the IDE. 21 | 22 | You will also have to download the Adafruit GFX Graphics core which does all the circles, text, rectangles, etc. You can get it from 23 | https://github.com/adafruit/Adafruit-GFX-Library 24 | and download/install that library as well -------------------------------------------------------------------------------- /libraries/Adafruit_SSD1306/library.properties: -------------------------------------------------------------------------------- 1 | name=Adafruit SSD1306 2 | version=1.0.0 3 | author=Adafruit 4 | maintainer=Adafruit 5 | sentence=SSD1306 oled driver library for 'monochrome' 128x64 and 128x32 OLEDs! 6 | paragraph=SSD1306 oled driver library for 'monochrome' 128x64 and 128x32 OLEDs! 7 | category=Display 8 | url=https://github.com/adafruit/Adafruit_SSD1306 9 | architectures=* 10 | -------------------------------------------------------------------------------- /libraries/Adafruit_SSD1306/license.txt: -------------------------------------------------------------------------------- 1 | Software License Agreement (BSD License) 2 | 3 | Copyright (c) 2012, Adafruit Industries 4 | All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions are met: 8 | 1. Redistributions of source code must retain the above copyright 9 | notice, this list of conditions and the following disclaimer. 10 | 2. Redistributions in binary form must reproduce the above copyright 11 | notice, this list of conditions and the following disclaimer in the 12 | documentation and/or other materials provided with the distribution. 13 | 3. Neither the name of the copyright holders nor the 14 | names of its contributors may be used to endorse or promote products 15 | derived from this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY 18 | EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 19 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 20 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY 21 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 26 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | -------------------------------------------------------------------------------- /libraries/Adafruit_STMPE610/README.txt: -------------------------------------------------------------------------------- 1 | /*************************************************** 2 | This is a library for the Adafruit STMPE610 Resistive 3 | touch screen controller breakout 4 | ----> http://www.adafruit.com/products/1571 5 | 6 | Check out the links above for our tutorials and wiring diagrams 7 | These breakouts use SPI or I2C to communicate 8 | 9 | Adafruit invests time and resources providing this open source code, 10 | please support Adafruit and open-source hardware by purchasing 11 | products from Adafruit! 12 | 13 | Written by Limor Fried/Ladyada for Adafruit Industries. 14 | MIT license, all text above must be included in any redistribution 15 | ****************************************************/ 16 | 17 | To download. click the DOWNLOADS button in the top right corner, rename the uncompressed folder Adafruit_STMPE610. Check that the Adafruit_STMPE610 folder contains Adafruit_STMPE610.cpp and Adafruit_STMPE610.h 18 | 19 | Place the Adafruit_STMPE610 library folder your *arduinosketchfolder*/libraries/ folder. You may need to create the libraries subfolder if its your first library. Restart the IDE 20 | 21 | -------------------------------------------------------------------------------- /libraries/Adafruit_STMPE610/library.properties: -------------------------------------------------------------------------------- 1 | name=Adafruit STMPE610 2 | version=1.0.0 3 | author=Adafruit 4 | maintainer=Adafruit 5 | sentence=Arduino library for STMPE610/811 resistive touch screen controllers 6 | paragraph=Arduino library for STMPE610/811 resistive touch screen controllers 7 | category=Display 8 | url=https://github.com/adafruit/Adafruit_STMPE610 9 | architectures=* 10 | -------------------------------------------------------------------------------- /libraries/Adafruit_TiCoServo/README.md: -------------------------------------------------------------------------------- 1 | Adafruit_TiCoServo 2 | ================== 3 | 4 | An alternate servo library when NeoPixels and servos are both needed in the same sketch (the stock Arduino Servo library stutters with the addition of NeoPixels). Has some limitations of its own, see examples for pros and cons. See Adafruit_TiCoServo.cpp for attribution. 5 | 6 | This library only handles the servo control, you'll still need to install and use the NeoPixel library for the LEDs. It's not dependent on that library though, and could be used separately for other (non-NeoPixel) situations that might benefit from hardware-PWM-driven servos. 7 | -------------------------------------------------------------------------------- /libraries/Adafruit_TiCoServo/library.properties: -------------------------------------------------------------------------------- 1 | name=Adafruit TiCoServo 2 | version=1.0.0 3 | author=Adafruit 4 | maintainer=Adafruit 5 | sentence=Use NeoPixels and servos in the same Arduino sketch (with caveats) 6 | paragraph=Use NeoPixels and servos in the same Arduino sketch (with caveats) 7 | category=Device Control 8 | url=https://github.com/adafruit/Adafruit_TiCoServo 9 | architectures=* 10 | -------------------------------------------------------------------------------- /libraries/DHT_sensor_library/DHT.h: -------------------------------------------------------------------------------- 1 | /* DHT library 2 | 3 | MIT license 4 | written by Adafruit Industries 5 | */ 6 | #ifndef DHT_H 7 | #define DHT_H 8 | 9 | #if ARDUINO >= 100 10 | #include "Arduino.h" 11 | #else 12 | #include "WProgram.h" 13 | #endif 14 | 15 | 16 | // Uncomment to enable printing out nice debug messages. 17 | //#define DHT_DEBUG 18 | 19 | // Define where debug output will be printed. 20 | #define DEBUG_PRINTER Serial 21 | 22 | // Setup debug printing macros. 23 | #ifdef DHT_DEBUG 24 | #define DEBUG_PRINT(...) { DEBUG_PRINTER.print(__VA_ARGS__); } 25 | #define DEBUG_PRINTLN(...) { DEBUG_PRINTER.println(__VA_ARGS__); } 26 | #else 27 | #define DEBUG_PRINT(...) {} 28 | #define DEBUG_PRINTLN(...) {} 29 | #endif 30 | 31 | // Define types of sensors. 32 | #define DHT11 11 33 | #define DHT22 22 34 | #define DHT21 21 35 | #define AM2301 21 36 | 37 | 38 | class DHT { 39 | public: 40 | DHT(uint8_t pin, uint8_t type, uint8_t count=6); 41 | void begin(void); 42 | float readTemperature(bool S=false, bool force=false); 43 | float convertCtoF(float); 44 | float convertFtoC(float); 45 | float computeHeatIndex(float temperature, float percentHumidity, bool isFahrenheit=true); 46 | float readHumidity(bool force=false); 47 | boolean read(bool force=false); 48 | 49 | private: 50 | uint8_t data[5]; 51 | uint8_t _pin, _type; 52 | #ifdef __AVR 53 | // Use direct GPIO access on an 8-bit AVR so keep track of the port and bitmask 54 | // for the digital pin connected to the DHT. Other platforms will use digitalRead. 55 | uint8_t _bit, _port; 56 | #endif 57 | uint32_t _lastreadtime, _maxcycles; 58 | bool _lastresult; 59 | 60 | uint32_t expectPulse(bool level); 61 | 62 | }; 63 | 64 | class InterruptLock { 65 | public: 66 | InterruptLock() { 67 | noInterrupts(); 68 | } 69 | ~InterruptLock() { 70 | interrupts(); 71 | } 72 | 73 | }; 74 | 75 | #endif 76 | -------------------------------------------------------------------------------- /libraries/DHT_sensor_library/README.md: -------------------------------------------------------------------------------- 1 | This is an Arduino library for the DHT series of low cost temperature/humidity sensors. 2 | 3 | Tutorial: https://learn.adafruit.com/dht 4 | 5 | To download. click the DOWNLOADS button in the top right corner, rename the uncompressed folder DHT. Check that the DHT folder contains DHT.cpp and DHT.h. Place the DHT library folder your /libraries/ folder. You may need to create the libraries subfolder if its your first library. Restart the IDE. 6 | -------------------------------------------------------------------------------- /libraries/DHT_sensor_library/keywords.txt: -------------------------------------------------------------------------------- 1 | ########################################### 2 | # Syntax Coloring Map For DHT-sensor-library 3 | ########################################### 4 | 5 | ########################################### 6 | # Datatypes (KEYWORD1) 7 | ########################################### 8 | 9 | DHT KEYWORD1 10 | 11 | ########################################### 12 | # Methods and Functions (KEYWORD2) 13 | ########################################### 14 | 15 | begin KEYWORD2 16 | readTemperature KEYWORD2 17 | convertCtoF KEYWORD2 18 | convertFtoC KEYWORD2 19 | computeHeatIndex KEYWORD2 20 | readHumidity KEYWORD2 21 | read KEYWORD2 22 | 23 | -------------------------------------------------------------------------------- /libraries/DHT_sensor_library/library.properties: -------------------------------------------------------------------------------- 1 | name=DHT sensor library 2 | version=1.2.3 3 | author=Adafruit 4 | maintainer=Adafruit 5 | sentence=Arduino library for DHT11, DHT22, etc Temp & Humidity Sensors 6 | paragraph=Arduino library for DHT11, DHT22, etc Temp & Humidity Sensors 7 | category=Sensors 8 | url=https://github.com/adafruit/DHT-sensor-library 9 | architectures=* 10 | -------------------------------------------------------------------------------- /libraries/FTOLED/.gitignore: -------------------------------------------------------------------------------- 1 | *.bak 2 | *.dck 3 | *~ 4 | build-* 5 | *.bck 6 | *.dcm 7 | .#* 8 | -------------------------------------------------------------------------------- /libraries/FTOLED/README.md: -------------------------------------------------------------------------------- 1 | FTOLED is an Arduino library for easy graphics support using the Arduino IDE with the [Freetronics OLED128 128x128 pixel OLED display](http://freetronics.com/oled128). 2 | 3 | ![OLED128 Display showing Stripchart sample sketch](https://cdn.shopify.com/s/files/1/0045/8932/products/oled128-9_medium.jpg?838) 4 | 5 | # Using this library 6 | 7 | See the [OLED128 QuickStart Guide](http://freetronics.com/pages/oled128-quickstart-guide) for information on connecting the OLED128 display, and installing the FTOLED library, 8 | 9 | Once you're ready to start creating your own graphical sketches, see the FTOLED Wiki: 10 | 11 | * [Using FTOLED](https://github.com/freetronics/FTOLED/wiki/Using-FTOLED) 12 | * [FTOLED Function Reference](https://github.com/freetronics/FTOLED/wiki/Function-Reference) 13 | 14 | 15 | 16 | # About the Makefiles 17 | 18 | You'll notice the examples directory contains some files named `Makefile`. You can ignore these if you are using the Arduino IDE. 19 | 20 | However, if you want to use other development tools with the FTOLED library, the Makefiles work with with the [arduino-mk](http://www.mjoldfield.com/atelier/2009/02/arduino-cli.html) package, version 0.10. They may need updating to work with newer versions. 21 | -------------------------------------------------------------------------------- /libraries/FTOLED/examples/Makefile: -------------------------------------------------------------------------------- 1 | # This is a Makefile to build all the examples in the library 2 | # 3 | # You don't need this file at all if you're using the Arduino IDE - just open any one of the 4 | # example sketch files (.ino files) in the Arduino IDE. 5 | # 6 | # 7 | EXAMPLES = all_drawing_operations countdown fonts_demo moodlight flames loremipsum stripchart 8 | 9 | all: TARG=all 10 | clean: TARG=clean 11 | all clean: $(EXAMPLES) 12 | 13 | $(EXAMPLES): 14 | $(MAKE) -C $@ $(TARG) 15 | 16 | .PHONY: clean all $(EXAMPLES) 17 | -------------------------------------------------------------------------------- /libraries/FTOLED/examples/all_drawing_operations/Makefile: -------------------------------------------------------------------------------- 1 | BOARD_TAG = uno 2 | ARDUINO_PORT = /dev/ttyUSB0 3 | ARDUINO_LIBS = SPI FTOLED SD digitalWriteFast 4 | 5 | ARDUINO_DIR ?= /usr/share/arduino 6 | ARDMK_DIR ?= /usr 7 | AVR_TOOLS_DIR ?= /usr 8 | 9 | include ${ARDUINO_DIR}/Arduino.mk 10 | CPPFLAGS += -Wall -Werror 11 | -------------------------------------------------------------------------------- /libraries/FTOLED/examples/all_drawing_operations/all_drawing_operations.ino: -------------------------------------------------------------------------------- 1 | /* 2 | * A very simple sketch showing all the possible drawing operations you can do 3 | */ 4 | #include 5 | #include 6 | #include 7 | 8 | const byte pin_cs = 7; 9 | const byte pin_dc = 2; 10 | const byte pin_reset = 3; 11 | 12 | OLED oled(pin_cs, pin_dc, pin_reset); 13 | 14 | void setup() 15 | { 16 | oled.begin(); 17 | 18 | // Fill the background with dark red (the values in the curly braces are {RED,GREEN,BLUE} ) 19 | OLED_Colour background = {10,0,0}; 20 | oled.fillScreen(background); 21 | 22 | // Horizontal blue line from (30,30) to (90,30) 23 | oled.drawLine(30,30,90,30,ROYALBLUE); 24 | 25 | // Diagonal black line across the screen 26 | oled.drawLine(0,127,127,0,BLACK); 27 | 28 | // Draw a filled circle and then an outline of a circle around it 29 | oled.drawFilledCircle(64,64,12,CYAN); 30 | oled.drawCircle(64,64,18,WHITE); 31 | 32 | // Draw a yellow box in the top-right 33 | oled.drawFilledBox(90,90,120,120,YELLOW); 34 | 35 | // With an outline of a violet box underneath it 36 | oled.drawBox(90,50,120,80,5,VIOLET); 37 | } 38 | 39 | void loop() 40 | { 41 | } 42 | -------------------------------------------------------------------------------- /libraries/FTOLED/examples/countdown/Makefile: -------------------------------------------------------------------------------- 1 | BOARD_TAG = atmega168 2 | ARDUINO_PORT = /dev/ttyUSB0 3 | ARDUINO_LIBS = SPI FTOLED SD digitalWriteFast 4 | 5 | ARDUINO_DIR ?= /usr/share/arduino 6 | ARDMK_DIR ?= /usr 7 | AVR_TOOLS_DIR ?= /usr 8 | 9 | include ${ARDUINO_DIR}/Arduino.mk 10 | CPPFLAGS += -Wall -Werror 11 | -------------------------------------------------------------------------------- /libraries/FTOLED/examples/countdown/countdown.ino: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | 6 | /* 7 | * Countdown on a scrolling screen using a large font 8 | */ 9 | 10 | const byte pin_cs = 7; 11 | const byte pin_dc = 2; 12 | const byte pin_reset = 3; 13 | 14 | OLED oled(pin_cs, pin_dc, pin_reset); 15 | OLED_TextBox box(oled); 16 | 17 | const int COUNTDOWN_FROM = 12; 18 | int counter = COUNTDOWN_FROM; 19 | 20 | void setup() { 21 | Serial.begin(115200); 22 | oled.begin(); 23 | oled.selectFont(Droid_Sans_24); 24 | box.setForegroundColour(LIMEGREEN); 25 | } 26 | 27 | void loop() { 28 | Serial.print(counter); 29 | Serial.println(F("...")); 30 | 31 | box.print(F("Count ")); 32 | box.print(counter); 33 | box.println(F(" . . .")); 34 | counter--; 35 | delay(1000); 36 | 37 | if(counter == 0) { 38 | box.println(F("\nAll Done!")); 39 | delay(2000); 40 | box.clear(); 41 | counter = 12; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /libraries/FTOLED/examples/demo_logo/Label.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/demo_logo/Label.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/demo_logo/Makefile: -------------------------------------------------------------------------------- 1 | BOARD_TAG = leonardo 2 | ARDUINO_PORT = /dev/ttyUSB0 3 | ARDUINO_LIBS = SPI FTOLED SD SD/utility 4 | 5 | ARDMK_DIR ?= /usr/share/arduino 6 | AVR_TOOLS_DIR ?= /usr 7 | 8 | include ${ARDMK_DIR}/Arduino.mk 9 | #CPPFLAGS += -Wall -Werror 10 | 11 | # Arduino Leonardo custom reset command (NB: the echo on the end is important, due to parent makefile) 12 | RESET_CMD = /bin/stty -F ${ARDUINO_PORT} 1200; sleep 0.5; echo 13 | -------------------------------------------------------------------------------- /libraries/FTOLED/examples/demo_logo/demo_logo.ino: -------------------------------------------------------------------------------- 1 | /* 2 | * Display the Freetronics logo and full colour cube, same as the packaging sticker. 3 | * 4 | * This sketch works by loading the file "Label.bmp" from the SD card, so you'll need 5 | * to copy that file to the SD card before running it. 6 | * 7 | */ 8 | #include 9 | #include 10 | #include 11 | #include 12 | 13 | const byte pin_cs = 7; 14 | const byte pin_dc = 2; 15 | const byte pin_reset = 3; 16 | 17 | const byte pin_sd_cs = 4; 18 | 19 | OLED oled(pin_cs, pin_dc, pin_reset); 20 | 21 | #define MSG_NOSD F("MicroSD card not found") 22 | #define MSG_FILENOTFOUND F("Label.bmp not found") 23 | #define MSG_BMPFAIL F("Failed to load BMP: ") 24 | 25 | // Text box is used to display error message if something 26 | // fails to load 27 | OLED_TextBox text(oled); 28 | 29 | void setup() 30 | { 31 | Serial.begin(115200); 32 | oled.begin(); 33 | oled.selectFont(SystemFont5x7); 34 | 35 | while(!SD.begin(pin_sd_cs)) { 36 | Serial.println(MSG_NOSD); 37 | text.println(MSG_NOSD); 38 | delay(500); 39 | } 40 | oled.begin(); // Calling oled.begin() after SD.begin() so we get faster SPI, see https://github.com/freetronics/FTOLED/wiki/Displaying-BMPs 41 | 42 | File image = SD.open("Label.bmp"); 43 | if(!image) { 44 | text.println(MSG_FILENOTFOUND); 45 | Serial.println(MSG_FILENOTFOUND); 46 | } else { 47 | BMP_Status result = oled.displayBMP(image, 0, 0); 48 | if(result != BMP_OK) { 49 | Serial.print(MSG_BMPFAIL); 50 | Serial.println((int) result); 51 | text.print(MSG_BMPFAIL); 52 | text.println((int) result); 53 | } 54 | } 55 | } 56 | 57 | void loop() 58 | { 59 | } 60 | -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/Makefile: -------------------------------------------------------------------------------- 1 | BOARD_TAG = leonardo 2 | ARDUINO_PORT = /dev/ttyACM3 3 | ARDUINO_LIBS = SPI FTOLED SD digitalWriteFast SD/utility 4 | 5 | ARDUINO_DIR ?= /usr/share/arduino 6 | ARDMK_DIR ?= /usr 7 | AVR_TOOLS_DIR ?= /usr 8 | 9 | include ${ARDUINO_DIR}/Arduino.mk 10 | CPPFLAGS += -Wall -Werror 11 | RESET_CMD = /bin/stty -F ${ARDUINO_PORT} 1200; sleep 1.0; echo 12 | -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/flames.ino: -------------------------------------------------------------------------------- 1 | /* 2 | * Render frames of an animation from the "frames" directory (on the SD card) to the display 3 | * 4 | * The sample frames in the frames/ directory show flames burning, and were originally 5 | * made by "Spiney" 6 | * http://opengameart.org/content/animated-sprites-and-textures (thanks Spiney!) 7 | * 8 | */ 9 | #include 10 | #include 11 | #include 12 | #include 13 | 14 | const byte pin_cs = 7; 15 | const byte pin_dc = 2; 16 | const byte pin_reset = 3; 17 | 18 | const byte pin_sd_cs = 4; 19 | 20 | OLED oled(pin_cs, pin_dc, pin_reset); 21 | 22 | // Text box is used to display error messages if any frames 23 | // fail to load 24 | OLED_TextBox text(oled); 25 | 26 | const int FRAME_COUNT = 64; 27 | 28 | #define MSG_NOSD F("MicroSD card not found") 29 | #define MSG_SKIP F("Skipping missing frame ") 30 | 31 | void setup() 32 | { 33 | Serial.begin(115200); 34 | oled.begin(); 35 | oled.selectFont(SystemFont5x7); 36 | text.setForegroundColour(RED); 37 | while(!SD.begin(pin_sd_cs)) { 38 | Serial.println(MSG_NOSD); 39 | text.println(MSG_NOSD); 40 | delay(500); 41 | } 42 | oled.begin(); // Calling begin() again so we get faster SPI, see https://github.com/freetronics/FTOLED/wiki/Displaying-BMPs 43 | } 44 | 45 | void loop() 46 | { 47 | uint32_t start = millis(); 48 | for(int i = 0; i < FRAME_COUNT; i++) { 49 | char filename[20]; 50 | snprintf(filename, sizeof(filename), "frames/%03d.bmp", i); 51 | File frame = SD.open(filename); 52 | if(!frame) { 53 | Serial.print(MSG_SKIP); 54 | Serial.println(filename); 55 | text.clear(); 56 | text.print(MSG_SKIP); 57 | text.println(filename); 58 | } 59 | else { 60 | oled.displayBMP(frame, 0, 0); 61 | } 62 | frame.close(); 63 | } 64 | uint32_t end = millis(); 65 | Serial.print(FRAME_COUNT); 66 | Serial.print(" frames in "); 67 | Serial.println(end - start); 68 | } 69 | 70 | -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/000.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/000.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/001.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/001.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/002.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/002.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/003.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/003.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/004.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/004.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/005.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/005.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/006.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/006.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/007.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/007.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/008.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/008.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/009.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/009.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/010.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/010.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/011.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/011.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/012.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/012.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/013.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/013.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/014.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/014.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/015.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/015.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/016.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/016.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/017.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/017.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/018.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/018.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/019.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/019.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/020.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/020.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/021.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/021.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/022.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/022.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/023.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/023.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/024.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/024.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/025.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/025.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/026.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/026.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/027.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/027.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/028.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/028.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/029.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/029.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/030.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/030.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/031.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/031.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/032.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/032.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/033.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/033.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/034.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/034.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/035.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/035.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/036.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/036.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/037.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/037.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/038.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/038.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/039.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/039.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/040.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/040.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/041.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/041.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/042.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/042.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/043.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/043.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/044.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/044.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/045.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/045.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/046.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/046.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/047.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/047.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/048.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/048.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/049.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/049.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/050.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/050.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/051.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/051.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/052.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/052.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/053.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/053.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/054.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/054.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/055.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/055.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/056.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/056.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/057.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/057.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/058.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/058.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/059.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/059.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/060.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/060.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/061.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/061.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/062.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/062.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/flames/frames/063.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/FTOLED/examples/flames/frames/063.bmp -------------------------------------------------------------------------------- /libraries/FTOLED/examples/fonts_demo/Makefile: -------------------------------------------------------------------------------- 1 | BOARD_TAG = leonardo 2 | ARDUINO_PORT = /dev/ttyACM3 3 | ARDUINO_LIBS = SPI FTOLED SD digitalWriteFast SD/utility 4 | 5 | ARDUINO_DIR ?= /usr/share/arduino 6 | ARDMK_DIR ?= /usr 7 | AVR_TOOLS_DIR ?= /usr 8 | 9 | include ${ARDUINO_DIR}/Arduino.mk 10 | CPPFLAGS += -Wall -Werror 11 | RESET_CMD = /bin/stty -F ${ARDUINO_PORT} 1200; sleep 1.0; echo 12 | -------------------------------------------------------------------------------- /libraries/FTOLED/examples/fonts_demo/fonts_demo.ino: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | 9 | // NB: This sketch won't fit on older Arduino Duemilanoves or any other 10 | // Arduino with less than 32k of onboard flash storage. 11 | // 12 | // If the sketch doesn't fit, disable one of the fonts by deleting one of 13 | // the blocks below 14 | 15 | const byte pin_cs = 7; 16 | const byte pin_dc = 2; 17 | const byte pin_reset = 3; 18 | 19 | OLED oled(pin_cs, pin_dc, pin_reset); 20 | 21 | void setup() { 22 | Serial.begin(115200); 23 | Serial.print("init..."); 24 | oled.begin(); 25 | 26 | oled.selectFont(Arial14); 27 | oled.drawString(6,20,F("Arial 14"),VIOLET,BLACK); 28 | 29 | oled.selectFont(Arial_Black_16); 30 | oled.drawString(6,38,F("Arial Black 16"),WHITE,BLACK); 31 | 32 | oled.selectFont(SystemFont5x7); 33 | oled.drawString(6,70,F("System 5x7\nOn Two Lines"),RED,BLACK); 34 | 35 | oled.selectFont(Droid_Sans_36); 36 | oled.drawString(6,78,F("DS 36"),GREEN,BLACK); 37 | 38 | // Finally, use the String object to build a dynamic string 39 | // instead of the previous strings which were all constant 40 | // "character arrays" (always the same value) 41 | String msg = "Sketch ran in\n"; 42 | msg += millis(); 43 | msg += " ms"; 44 | oled.selectFont(SystemFont5x7); 45 | oled.drawString(6,8,msg,WHITE,BLACK); 46 | } 47 | 48 | void loop() { 49 | // Do nothing, we're finished! 50 | } 51 | -------------------------------------------------------------------------------- /libraries/FTOLED/examples/loremipsum/Makefile: -------------------------------------------------------------------------------- 1 | BOARD_TAG = atmega168 2 | ARDUINO_PORT = /dev/ttyUSB0 3 | ARDUINO_LIBS = SPI FTOLED SD digitalWriteFast 4 | 5 | ARDUINO_DIR ?= /usr/share/arduino 6 | ARDMK_DIR ?= /usr 7 | AVR_TOOLS_DIR ?= /usr 8 | 9 | include ${ARDUINO_DIR}/Arduino.mk 10 | CPPFLAGS += -Wall -Werror 11 | -------------------------------------------------------------------------------- /libraries/FTOLED/examples/moodlight/Makefile: -------------------------------------------------------------------------------- 1 | BOARD_TAG = atmega168 2 | ARDUINO_PORT = /dev/ttyUSB0 3 | ARDUINO_LIBS = SPI FTOLED SD digitalWriteFast 4 | 5 | ARDUINO_DIR ?= /usr/share/arduino 6 | ARDMK_DIR ?= /usr 7 | AVR_TOOLS_DIR ?= /usr 8 | 9 | include ${ARDUINO_DIR}/Arduino.mk 10 | CPPFLAGS += -Wall -Werror 11 | -------------------------------------------------------------------------------- /libraries/FTOLED/examples/moodlight/moodlight.ino: -------------------------------------------------------------------------------- 1 | /* 2 | * Simple sketch that cycles the display through available hues, 3 | * keeping a solid 100% saturation value, 4 | * simulating slowly circling the HSV colour wheel. 5 | */ 6 | #include 7 | #include 8 | #include 9 | 10 | const byte pin_cs = 7; 11 | const byte pin_dc = 2; 12 | const byte pin_reset = 3; 13 | 14 | OLED oled(pin_cs, pin_dc, pin_reset); 15 | 16 | float angle; 17 | 18 | void setup() 19 | { 20 | oled.begin(); 21 | } 22 | 23 | // Translate a hue "angle" -120 to 120 degrees (ie -2PI/3 to 2PI/3) to 24 | // a 6-bit R channel value 25 | // 26 | // This is very slow on a microcontroller, not a great example! 27 | inline int angle_to_channel(float a) { 28 | if(a < -PI) 29 | a += 2*PI; 30 | if(a < -2*PI/3 || a > 2*PI/3) 31 | return 0; 32 | float f_channel = cos(a*3/4); // remap 120-degree 0-1.0 to 90 ?? 33 | return ceil(f_channel * 63); 34 | } 35 | 36 | void loop() { 37 | OLED_Colour c; 38 | c.red = angle_to_channel(angle)>>1; 39 | c.green = angle_to_channel(angle-2*PI/3); 40 | c.blue = angle_to_channel(angle-4*PI/3)>>1; 41 | oled.fillScreen(c); 42 | 43 | angle += 0.02; 44 | if(angle > PI) 45 | angle -= 2*PI; 46 | } 47 | -------------------------------------------------------------------------------- /libraries/FTOLED/examples/sprite/Makefile: -------------------------------------------------------------------------------- 1 | BOARD_TAG = uno 2 | ARDUINO_PORT = /dev/ttyUSB0 3 | ARDUINO_LIBS = SPI FTOLED SD 4 | 5 | ARDUINO_DIR ?= /usr/share/arduino 6 | ARDMK_DIR ?= /usr 7 | AVR_TOOLS_DIR ?= /usr 8 | 9 | include ${ARDUINO_DIR}/Arduino.mk 10 | CPPFLAGS += -Wall -Werror 11 | -------------------------------------------------------------------------------- /libraries/FTOLED/examples/stripchart/Makefile: -------------------------------------------------------------------------------- 1 | BOARD_TAG = uno 2 | ARDUINO_PORT = /dev/ttyUSB0 3 | ARDUINO_LIBS = SPI FTOLED SD digitalWriteFast 4 | 5 | ARDUINO_DIR ?= /usr/share/arduino 6 | ARDMK_DIR ?= /usr 7 | AVR_TOOLS_DIR ?= /usr 8 | 9 | include ${ARDUINO_DIR}/Arduino.mk 10 | CPPFLAGS += -Wall -Werror 11 | -------------------------------------------------------------------------------- /libraries/FTOLED/examples/stripchart/stripchart.ino: -------------------------------------------------------------------------------- 1 | /* 2 | * Plot a chart reading of analog input values in realtime, with the 3 | * raw numeric values written in text below 4 | */ 5 | 6 | const byte pin_cs = 7; 7 | const byte pin_dc = 2; 8 | const byte pin_reset = 3; 9 | 10 | #include 11 | #include 12 | #include "FTOLED.h" 13 | #include "fonts/SystemFont5x7.h" 14 | 15 | OLED oled(pin_cs, pin_dc, pin_reset); 16 | // Text box takes up bottom 32 characters of the display (ie 4 rows) 17 | OLED_TextBox box(oled, 0, 0, 128, 32); 18 | 19 | const int NUM_CHANNELS = 3; 20 | 21 | const OLED_Colour COLOURS[NUM_CHANNELS] = { RED, GREEN, BLUE }; 22 | 23 | // How many ms between each sample (the sample rate will be a bit slower than this, due to overhead of actually drawing things.) 24 | const int DELAY = 50; 25 | 26 | int samples[NUM_CHANNELS][128]; 27 | uint8_t cur_sample = 0; 28 | uint8_t last_y[NUM_CHANNELS]; 29 | 30 | void setup() { 31 | oled.begin(); 32 | oled.selectFont(System5x7); 33 | box.setForegroundColour(DARKGREEN); 34 | } 35 | 36 | void loop() { 37 | if(cur_sample%2 == 0) 38 | box.reset(); // reset the text box contents, without clearing screen (allows flicker-free redraw) 39 | box.print(millis()); 40 | box.println(":"); 41 | for(int ch = 0; ch < NUM_CHANNELS; ch++) { 42 | // Note that as we're switching channels a lot here we might need to 43 | // do some clever things if reading high-impedance sources 44 | samples[ch][cur_sample] = analogRead(ch); 45 | box.print(" "); 46 | box.setForegroundColour(COLOURS[ch]); 47 | box.print(ch); 48 | box.print(": "); 49 | box.setForegroundColour(DARKGREEN); 50 | box.print(samples[ch][cur_sample]); 51 | } 52 | box.print("\n"); // Draw end of line 53 | 54 | for(int ch = 0; ch < NUM_CHANNELS; ch++) { 55 | uint8_t y = map(samples[ch][cur_sample], 0, 1023, 33, 128); 56 | if(cur_sample > 0) 57 | oled.drawLine(cur_sample-1,last_y[ch],cur_sample,y, COLOURS[ch]); 58 | else 59 | oled.setPixel(cur_sample, y, COLOURS[ch]); 60 | last_y[ch] = y; 61 | } 62 | 63 | delay(DELAY); 64 | cur_sample++; 65 | if(cur_sample > 127) { 66 | oled.drawFilledBox(0,33,128,128,BLACK); 67 | cur_sample = 0; 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /libraries/FTOLED/library.properties: -------------------------------------------------------------------------------- 1 | name=FTOLED 2 | version=1.1.2 3 | author=Freetronics 4 | maintainer=Angus Gratton 5 | sentence=Library to drive Freetronics OLED128 128x128 display. 6 | paragraph=Supports graphics operations (test, images, etc.) on the OLED128. Can probably be used with other SSD1351 based displays. Manual at https://github.com/freetronics/FTOLED/wiki 7 | category=Display 8 | url=https://github.com/freetronics/FTOLED/ 9 | architectures=avr,sam 10 | -------------------------------------------------------------------------------- /libraries/FTOLED/progmem_compat.h: -------------------------------------------------------------------------------- 1 | /* 2 | * A header file designed to provide PROGMEM compatible (no-op) macros for 3 | * Arduino Due or other non-AVR based boards. 4 | * 5 | * This allows code written to use PROGMEM on AVRs to transparently run on 6 | * other platforms 7 | * 8 | * This header is necessary on Arduino 1.5.1 & 1.5.2 betas, from 1.5.3 9 | * the Arduino team added their own wrappers so this header file does 10 | * nothing. 11 | */ 12 | #ifndef _PROGMEM_COMPAT_H 13 | #define _PROGMEM_COMPAT_H 14 | 15 | #if defined(__AVR__) || (defined(ARDUINO) && ARDUINO > 152) || defined(CORE_TEENSY) 16 | #include 17 | #else // ARM 18 | 19 | // Stub out some other common PROGMEM functions 20 | #define PROGMEM 21 | #define memcpy_P memcpy 22 | 23 | static inline uint8_t pgm_read_byte(const void *addr) { return *((uint8_t *)addr); } 24 | 25 | #define F(X) X 26 | 27 | 28 | #endif 29 | #endif 30 | -------------------------------------------------------------------------------- /libraries/IRremoteESP8266/Contributors.md: -------------------------------------------------------------------------------- 1 | ## Contributors of this project 2 | - [Mark Szabo](https://github.com/markszabo/) : IR sending on ESP8266 3 | - [Sébastien Warin](https://github.com/sebastienwarin/) (http://sebastien.warin.fr) : IR receiving on ESP8266 4 | 5 | ## Contributors of the original project (https://github.com/shirriff/Arduino-IRremote/) 6 | These are the active contributors of this project that you may contact if there is anything you need help with or if you have suggestions. 7 | 8 | - [z3t0](https://github.com/z3t0) : Active Contributor and currently also the main contributor. 9 | * Email: zetoslab@gmail.com 10 | * Skype: polarised16 11 | - [shirriff](https://github.com/shirriff) : Owner of repository and creator of library. 12 | - [Informatic](https://github.com/Informatic) : Active contributor 13 | - [fmeschia](https://github.com/fmeschia) : Active contributor 14 | - [PaulStoffregen](https://github.com/paulstroffregen) : Active contributor 15 | - [crash7](https://github.com/crash7) : Active contributor 16 | - [Neco777](https://github.com/neco777) : Active contributor 17 | 18 | Note: This list is being updated constantly so please let [z3t0](https://github.com/z3t0) know if you have been missed. 19 | 20 | 21 | -------------------------------------------------------------------------------- /libraries/IRremoteESP8266/README.md: -------------------------------------------------------------------------------- 1 | # IRremote ESP8266 Library 2 | 3 | This library enables you to **send and receive** infra-red signals on an ESP8266 using Arduino framework (https://github.com/esp8266/Arduino) 4 | 5 | This library is based on Ken Shirriff's work (https://github.com/shirriff/Arduino-IRremote/) 6 | 7 | [Mark Szabo](https://github.com/markszabo/IRremoteESP8266) has updated the IRsend class to work on ESP8266 and [Sebastien Warin](https://github.com/sebastienwarin/IRremoteESP8266) the receiving & decoding part (IRrecv class). 8 | 9 | Seb's notes : I also changed the pulse parameters for Samsung, update the Panasonic and Samsung decoders and remove the SANYO decoders. The IR decoder was successfully tested with Panasonic and Samsung remote controls. 10 | 11 | ## Installation 12 | 1. Click "Download ZIP" 13 | 2. Extract the downloaded zip file 14 | 3. Rename the extracted folder to "IRremoteESP8266" 15 | 4. Move this folder to your libraries directory (under windows: C:\Users\YOURNAME\Documents\Arduino\libraries\) 16 | 5. Restart your Arduino ide 17 | 6. Check out the examples 18 | 19 | ## Contributing 20 | If you want to contribute to this project: 21 | - Report bugs and errors 22 | - Ask for enhancements 23 | - Create issues and pull requests 24 | - Tell other people about this library 25 | 26 | ## Contributors 27 | Check [here](Contributors.md) 28 | -------------------------------------------------------------------------------- /libraries/IRremoteESP8266/examples/IRrecvDemo/IRrecvDemo.ino: -------------------------------------------------------------------------------- 1 | /* 2 | * IRremoteESP8266: IRrecvDemo - demonstrates receiving IR codes with IRrecv 3 | * An IR detector/demodulator must be connected to the input RECV_PIN. 4 | * Version 0.1 Sept, 2015 5 | * Based on Ken Shirriff's IrsendDemo Version 0.1 July, 2009, Copyright 2009 Ken Shirriff, http://arcfn.com 6 | */ 7 | 8 | #include 9 | 10 | int RECV_PIN = 2; //an IR detector/demodulatord is connected to GPIO pin 2 11 | 12 | IRrecv irrecv(RECV_PIN); 13 | 14 | decode_results results; 15 | 16 | void setup() 17 | { 18 | Serial.begin(9600); 19 | irrecv.enableIRIn(); // Start the receiver 20 | } 21 | 22 | void loop() { 23 | if (irrecv.decode(&results)) { 24 | Serial.println(results.value, HEX); 25 | irrecv.resume(); // Receive the next value 26 | } 27 | delay(100); 28 | } 29 | -------------------------------------------------------------------------------- /libraries/IRremoteESP8266/examples/IRsendDemo/IRsendDemo.ino: -------------------------------------------------------------------------------- 1 | /* 2 | * IRremoteESP8266: IRsendDemo - demonstrates sending IR codes with IRsend 3 | * An IR LED must be connected to ESP8266 pin 0. 4 | * Version 0.1 June, 2015 5 | * Based on Ken Shirriff's IrsendDemo Version 0.1 July, 2009, Copyright 2009 Ken Shirriff, http://arcfn.com 6 | */ 7 | 8 | #include 9 | 10 | IRsend irsend(0); //an IR led is connected to GPIO pin 0 11 | 12 | void setup() 13 | { 14 | irsend.begin(); 15 | Serial.begin(9600); 16 | } 17 | 18 | void loop() { 19 | Serial.println("NEC"); 20 | irsend.sendNEC(0x00FFE01F, 36); 21 | delay(2000); 22 | Serial.println("Sony"); 23 | irsend.sendSony(0xa90, 12); 24 | delay(2000); 25 | } 26 | -------------------------------------------------------------------------------- /libraries/IRremoteESP8266/examples/JVCPanasonicSendDemo/JVCPanasonicSendDemo.ino: -------------------------------------------------------------------------------- 1 | /* 2 | * IRremoteESP8266: IRsendDemo - demonstrates sending IR codes with IRsend 3 | * An IR LED must be connected to ESP8266 pin 0. 4 | * Version 0.1 June, 2015 5 | * Based on Ken Shirriff's IrsendDemo Version 0.1 July, 2009, Copyright 2009 Ken Shirriff, http://arcfn.com 6 | * JVC and Panasonic protocol added by Kristian Lauszus (Thanks to zenwheel and other people at the original blog post) 7 | */ 8 | #include 9 | 10 | #define PanasonicAddress 0x4004 // Panasonic address (Pre data) 11 | #define PanasonicPower 0x100BCBD // Panasonic Power button 12 | 13 | #define JVCPower 0xC5E8 14 | 15 | IRsend irsend(0); //an IR led is connected to GPIO pin 0 16 | 17 | void setup() 18 | { 19 | irsend.begin(); 20 | } 21 | 22 | void loop() { 23 | irsend.sendPanasonic(PanasonicAddress,PanasonicPower); // This should turn your TV on and off 24 | 25 | irsend.sendJVC(JVCPower, 16,0); // hex value, 16 bits, no repeat 26 | delayMicroseconds(50); // see http://www.sbprojects.com/knowledge/ir/jvc.php for information 27 | irsend.sendJVC(JVCPower, 16,1); // hex value, 16 bits, repeat 28 | delayMicroseconds(50); 29 | } 30 | -------------------------------------------------------------------------------- /libraries/IRremoteESP8266/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For IRremote 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | decode_results KEYWORD1 10 | IRrecv KEYWORD1 11 | IRsend KEYWORD1 12 | 13 | ####################################### 14 | # Methods and Functions (KEYWORD2) 15 | ####################################### 16 | 17 | decode KEYWORD2 18 | enableIRIn KEYWORD2 19 | disableIRIn KEYWORD2 20 | resume KEYWORD2 21 | begin KEYWORD2 22 | enableIROut KEYWORD2 23 | sendNEC KEYWORD2 24 | sendSony KEYWORD2 25 | sendSanyo KEYWORD2 26 | sendMitsubishi KEYWORD2 27 | sendRaw KEYWORD2 28 | sendRC5 KEYWORD2 29 | sendRC6 KEYWORD2 30 | sendDISH KEYWORD2 31 | sendSharp KEYWORD2 32 | sendSharpRaw KEYWORD2 33 | sendPanasonic KEYWORD2 34 | sendJVC KEYWORD2 35 | sendWhynter KEYWORD2 36 | sendSAMSUNG KEYWORD2 37 | 38 | ####################################### 39 | # Constants (LITERAL1) 40 | ####################################### 41 | 42 | NEC LITERAL1 43 | SONY LITERAL1 44 | SANYO LITERAL1 45 | MITSUBISHI LITERAL1 46 | RC5 LITERAL1 47 | RC6 LITERAL1 48 | DISH LITERAL1 49 | SHARP LITERAL1 50 | PANASONIC LITERAL1 51 | JVC LITERAL1 52 | LG LITERAL1 53 | SAMSUNG LITERAL1 54 | WHYNTER LITERAL1 55 | AIWA_RC_T501 LITERAL1 56 | UNKNOWN LITERAL1 57 | REPEAT LITERAL1 -------------------------------------------------------------------------------- /libraries/IRremoteESP8266/library.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "IRremoteESP8266", 3 | "keywords": "infrared, ir, remote", 4 | "description": "Send and receive infrared signals with multiple protocols", 5 | "repository": 6 | { 7 | "type": "git", 8 | "url": "https://github.com/sebastienwarin/IRremoteESP8266.git" 9 | }, 10 | "frameworks": "arduino", 11 | "platforms": "esp8266" 12 | } 13 | -------------------------------------------------------------------------------- /libraries/IRremoteESP8266/library.properties: -------------------------------------------------------------------------------- 1 | name=IRremoteESP8266 2 | version=1.0.0 3 | author=Sebastien Warin, Mark Szabo, Ken Shirriff 4 | maintainer=Sebastien Warin 5 | sentence=Send and receive infrared signals with multiple protocols. 6 | paragraph=This library enables you to send and receive infra-red signals on an ESP8266. 7 | category=Device Control 8 | url=https://github.com/sebastienwarin/IRremoteESP8266 9 | architectures=esp8266 10 | -------------------------------------------------------------------------------- /libraries/LedControl/LICENSE: -------------------------------------------------------------------------------- 1 | LedControl.h - A library for controling Leds with a MAX7219/MAX7221 2 | Copyright (c) 2007-2015 Eberhard Fahle 3 | 4 | Permission is hereby granted, free of charge, to any person 5 | obtaining a copy of this software and associated documentation 6 | files (the "Software"), to deal in the Software without 7 | restriction, including without limitation the rights to use, 8 | copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the 10 | Software is furnished to do so, subject to the following 11 | conditions: 12 | 13 | This permission notice shall be included in all copies or 14 | substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 18 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 20 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 21 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 22 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 23 | OTHER DEALINGS IN THE SOFTWARE. 24 | -------------------------------------------------------------------------------- /libraries/LedControl/README.md: -------------------------------------------------------------------------------- 1 | LedControl 2 | ========== 3 | LedControl is an [Arduino](http://arduino.cc) library for MAX7219 and MAX7221 Led display drivers. 4 | The code also works with the [Teensy (3.1)](https://www.pjrc.com/teensy/) 5 | 6 | Documentation 7 | ------------- 8 | Documentation for the library is on the [Github Project Pages](http://wayoda.github.io/LedControl/) 9 | 10 | Download 11 | -------- 12 | The lastest binary version of the Library is always available from the 13 | [LedControl Release Page](https://github.com/wayoda/LedControl/releases) 14 | 15 | 16 | Install 17 | ------- 18 | The library can be installed using the [standard Arduino library install procedure](http://arduino.cc/en/Guide/Libraries#.UwxndHX5PtY) 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /libraries/LedControl/examples/LCDemo7Segment/LCDemo7Segment.ino: -------------------------------------------------------------------------------- 1 | //We always have to include the library 2 | #include "LedControl.h" 3 | 4 | /* 5 | Now we need a LedControl to work with. 6 | ***** These pin numbers will probably not work with your hardware ***** 7 | pin 12 is connected to the DataIn 8 | pin 11 is connected to the CLK 9 | pin 10 is connected to LOAD 10 | We have only a single MAX72XX. 11 | */ 12 | LedControl lc=LedControl(12,11,10,1); 13 | 14 | /* we always wait a bit between updates of the display */ 15 | unsigned long delaytime=250; 16 | 17 | void setup() { 18 | /* 19 | The MAX72XX is in power-saving mode on startup, 20 | we have to do a wakeup call 21 | */ 22 | lc.shutdown(0,false); 23 | /* Set the brightness to a medium values */ 24 | lc.setIntensity(0,8); 25 | /* and clear the display */ 26 | lc.clearDisplay(0); 27 | } 28 | 29 | 30 | /* 31 | This method will display the characters for the 32 | word "Arduino" one after the other on digit 0. 33 | */ 34 | void writeArduinoOn7Segment() { 35 | lc.setChar(0,0,'a',false); 36 | delay(delaytime); 37 | lc.setRow(0,0,0x05); 38 | delay(delaytime); 39 | lc.setChar(0,0,'d',false); 40 | delay(delaytime); 41 | lc.setRow(0,0,0x1c); 42 | delay(delaytime); 43 | lc.setRow(0,0,B00010000); 44 | delay(delaytime); 45 | lc.setRow(0,0,0x15); 46 | delay(delaytime); 47 | lc.setRow(0,0,0x1D); 48 | delay(delaytime); 49 | lc.clearDisplay(0); 50 | delay(delaytime); 51 | } 52 | 53 | /* 54 | This method will scroll all the hexa-decimal 55 | numbers and letters on the display. You will need at least 56 | four 7-Segment digits. otherwise it won't really look that good. 57 | */ 58 | void scrollDigits() { 59 | for(int i=0;i<13;i++) { 60 | lc.setDigit(0,3,i,false); 61 | lc.setDigit(0,2,i+1,false); 62 | lc.setDigit(0,1,i+2,false); 63 | lc.setDigit(0,0,i+3,false); 64 | delay(delaytime); 65 | } 66 | lc.clearDisplay(0); 67 | delay(delaytime); 68 | } 69 | 70 | void loop() { 71 | writeArduinoOn7Segment(); 72 | scrollDigits(); 73 | } 74 | -------------------------------------------------------------------------------- /libraries/LedControl/examples/LCDemoCascadedDevices/LCDemoCascadedDevices.ino: -------------------------------------------------------------------------------- 1 | //We always have to include the library 2 | #include "LedControl.h" 3 | 4 | /* 5 | Now we need a LedControl to work with. 6 | ***** These pin numbers will probably not work with your hardware ***** 7 | pin 12 is connected to the DataIn 8 | pin 11 is connected to the CLK 9 | pin 10 is connected to LOAD 10 | ***** Please set the number of devices you have ***** 11 | But the maximum default of 8 MAX72XX wil also work. 12 | */ 13 | LedControl lc=LedControl(12,11,10,8); 14 | 15 | /* we always wait a bit between updates of the display */ 16 | unsigned long delaytime=500; 17 | 18 | /* 19 | This time we have more than one device. 20 | But all of them have to be initialized 21 | individually. 22 | */ 23 | void setup() { 24 | //we have already set the number of devices when we created the LedControl 25 | int devices=lc.getDeviceCount(); 26 | //we have to init all devices in a loop 27 | for(int address=0;address 4 | maintainer=Eberhard Fahle 5 | sentence=A library for the MAX7219 and the MAX7221 Led display drivers. 6 | paragraph=The library supports multiple daisychained drivers and supports Led-Matrix displays as well as 7-Segment displays. 7 | category=Display 8 | url=http://wayoda.github.io/LedControl/ 9 | architectures=* 10 | 11 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/docs/.DS_Store -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/docs/html/.DS_Store -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/bc_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/docs/html/bc_s.png -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/class_l_c_d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/docs/html/class_l_c_d.png -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/class_liquid_crystal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/docs/html/class_liquid_crystal.png -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/class_liquid_crystal___i2_c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/docs/html/class_liquid_crystal___i2_c.png -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/class_liquid_crystal___s_r.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/docs/html/class_liquid_crystal___s_r.png -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/class_liquid_crystal___s_r2_w.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/docs/html/class_liquid_crystal___s_r2_w.png -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/class_liquid_crystal___s_r3_w.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/docs/html/class_liquid_crystal___s_r3_w.png -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/class_liquid_crystal___s_r___l_c_d3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/docs/html/class_liquid_crystal___s_r___l_c_d3.png -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/docs/html/closed.png -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/doxygen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/docs/html/doxygen.png -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/logoGoogle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/docs/html/logoGoogle.jpg -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/nav_f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/docs/html/nav_f.png -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/nav_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/docs/html/nav_h.png -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/docs/html/open.png -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/all_61.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | ATOMIC_BLOCK 13 | FastIO.h 14 |
15 |
16 |
17 |
18 | ATOMIC_RESTORESTATE 19 | FastIO.h 20 |
21 |
22 |
23 |
24 | autoscroll 25 | LCD 26 |
27 |
28 |
Searching...
29 |
No Matches
30 | 36 |
37 | 38 | 39 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/all_68.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | home 13 | LCD 14 |
15 |
16 |
17 |
18 | HOME_CLEAR_EXEC 19 | LCD.h 20 |
21 |
22 |
Searching...
23 |
No Matches
24 | 30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/all_6d.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | moveCursorLeft 13 | LCD 14 |
15 |
16 |
17 |
18 | moveCursorRight 19 | LCD 20 |
21 |
22 |
Searching...
23 |
No Matches
24 | 30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/all_6f.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | off 13 | LCD 14 |
15 |
16 |
17 |
18 | on 19 | LCD 20 |
21 |
22 |
Searching...
23 |
No Matches
24 | 30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/all_70.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | pinMode 13 | I2CIO 14 |
15 |
16 |
17 |
18 | portMode 19 | I2CIO 20 |
21 |
22 |
23 |
24 | POSITIVE 25 | LCD.h 26 |
27 |
28 |
Searching...
29 |
No Matches
30 | 36 |
37 | 38 | 39 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/all_74.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | t_backlighPol 13 | LCD.h 14 |
15 |
16 |
17 |
18 | TWO_WIRE 19 | LiquidCrystal_SR.h 20 |
21 |
22 |
Searching...
23 |
No Matches
24 | 30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/all_77.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | waitUsec 13 | LCD.h 14 |
15 |
16 |
17 |
18 | write 19 |
20 | I2CIO::write() 21 | LCD::write() 22 |
23 |
24 |
25 |
Searching...
26 |
No Matches
27 | 33 |
34 | 35 | 36 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/classes_69.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | I2CIO 13 |
14 |
15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/docs/html/search/close.png -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/defines_5f.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | _I2CIO_VERSION 13 | I2CIO.h 14 |
15 |
16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/defines_61.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | ATOMIC_BLOCK 13 | FastIO.h 14 |
15 |
16 |
17 |
18 | ATOMIC_RESTORESTATE 19 | FastIO.h 20 |
21 |
22 |
Searching...
23 |
No Matches
24 | 30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/defines_62.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | BACKLIGHT_OFF 13 | LCD.h 14 |
15 |
16 |
17 |
18 | BACKLIGHT_ON 19 | LCD.h 20 |
21 |
22 |
Searching...
23 |
No Matches
24 | 30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/defines_63.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | COMMAND 13 | LCD.h 14 |
15 |
16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/defines_68.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | HOME_CLEAR_EXEC 13 | LCD.h 14 |
15 |
16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/defines_74.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | TWO_WIRE 13 | LiquidCrystal_SR.h 14 |
15 |
16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/enums_74.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | t_backlighPol 13 | LCD.h 14 |
15 |
16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/enumvalues_6e.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | NEGATIVE 13 | LCD.h 14 |
15 |
16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/enumvalues_70.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | POSITIVE 13 | LCD.h 14 |
15 |
16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/files_66.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | FastIO.cpp 13 |
14 |
15 |
16 |
17 | FastIO.h 18 |
19 |
20 |
Searching...
21 |
No Matches
22 | 28 |
29 | 30 | 31 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/files_69.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | I2CIO.cpp 13 |
14 |
15 |
16 |
17 | I2CIO.h 18 |
19 |
20 |
Searching...
21 |
No Matches
22 | 28 |
29 | 30 | 31 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/functions_61.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | autoscroll 13 | LCD 14 |
15 |
16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/functions_63.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | clear 13 | LCD 14 |
15 |
16 |
17 |
18 | createChar 19 | LCD 20 |
21 |
22 |
23 |
24 | cursor 25 | LCD 26 |
27 |
28 |
Searching...
29 |
No Matches
30 | 36 |
37 | 38 | 39 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/functions_64.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | digitalRead 13 | I2CIO 14 |
15 |
16 |
17 |
18 | digitalWrite 19 | I2CIO 20 |
21 |
22 |
23 |
24 | display 25 | LCD 26 |
27 |
28 |
Searching...
29 |
No Matches
30 | 36 |
37 | 38 | 39 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/functions_65.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | expanderWrite 13 | LiquidCrystal_I2C 14 |
15 |
16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/functions_68.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | home 13 | LCD 14 |
15 |
16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/functions_69.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | I2CIO 13 | I2CIO 14 |
15 |
16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/functions_6d.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | moveCursorLeft 13 | LCD 14 |
15 |
16 |
17 |
18 | moveCursorRight 19 | LCD 20 |
21 |
22 |
Searching...
23 |
No Matches
24 | 30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/functions_6f.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | off 13 | LCD 14 |
15 |
16 |
17 |
18 | on 19 | LCD 20 |
21 |
22 |
Searching...
23 |
No Matches
24 | 30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/functions_70.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | pinMode 13 | I2CIO 14 |
15 |
16 |
17 |
18 | portMode 19 | I2CIO 20 |
21 |
22 |
Searching...
23 |
No Matches
24 | 30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/functions_72.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | read 13 | I2CIO 14 |
15 |
16 |
17 |
18 | rightToLeft 19 | LCD 20 |
21 |
22 |
Searching...
23 |
No Matches
24 | 30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/mag_sel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/docs/html/search/mag_sel.png -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/nomatches.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
No Matches
10 |
11 | 12 | 13 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/search_l.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/docs/html/search/search_l.png -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/search_m.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/docs/html/search/search_m.png -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/search_r.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/docs/html/search/search_r.png -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/search/typedefs_66.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
Loading...
10 |
11 |
12 | fio_bit 13 | FastIO.h 14 |
15 |
16 |
17 |
18 | fio_register 19 | FastIO.h 20 |
21 |
22 |
Searching...
23 |
No Matches
24 | 30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/tab_a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/docs/html/tab_a.png -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/tab_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/docs/html/tab_b.png -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/tab_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/docs/html/tab_h.png -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/html/tab_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/docs/html/tab_s.png -------------------------------------------------------------------------------- /libraries/LiquidCrystal/docs/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/LiquidCrystal/examples/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/examples/.DS_Store -------------------------------------------------------------------------------- /libraries/LiquidCrystal/examples/HelloWorld_4bit/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/examples/HelloWorld_4bit/.DS_Store -------------------------------------------------------------------------------- /libraries/LiquidCrystal/examples/HelloWorld_4bit/HelloWorld_4bit.pde: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | 5 | #define CONTRAST_PIN 9 6 | #define BACKLIGHT_PIN 7 7 | #define CONTRAST 110 8 | LiquidCrystal lcd(12, 11, 5, 4, 3, 2, BACKLIGH_PIN, POSITIVE ); 9 | 10 | 11 | // Creat a set of new characters 12 | byte smiley[8] = { 13 | 0b00000, 14 | 0b00000, 15 | 0b01010, 16 | 0b00000, 17 | 0b00000, 18 | 0b10001, 19 | 0b01110, 20 | 0b00000 21 | }; 22 | 23 | byte armsUp[8] = { 24 | 0b00100, 25 | 0b01010, 26 | 0b00100, 27 | 0b10101, 28 | 0b01110, 29 | 0b00100, 30 | 0b00100, 31 | 0b01010 32 | }; 33 | 34 | byte frownie[8] = { 35 | 0b00000, 36 | 0b00000, 37 | 0b01010, 38 | 0b00000, 39 | 0b00000, 40 | 0b00000, 41 | 0b01110, 42 | 0b10001 43 | }; 44 | 45 | void setup() 46 | { 47 | Serial.begin ( 57600 ); 48 | 49 | // Switch on the backlight and LCD contrast levels 50 | pinMode(CONTRAST_PIN, OUTPUT); 51 | analogWrite ( CONTRAST_PIN, CONTRAST ); 52 | 53 | //lcd.setBacklightPin ( BACKLIGHT_PIN, POSITIVE ); 54 | //lcd.setBacklight ( HIGH ); 55 | lcd.backlight(); 56 | 57 | lcd.begin(16,2); // initialize the lcd 58 | 59 | lcd.createChar (0, smiley); // load character to the LCD 60 | lcd.createChar (1, armsUp); // load character to the LCD 61 | lcd.createChar (2, frownie); // load character to the LCD 62 | 63 | lcd.home (); // go home 64 | lcd.print("Hello, ARDUINO "); 65 | lcd.setCursor ( 0, 1 ); // go to the next line 66 | lcd.print (" FORUM - fm "); 67 | } 68 | 69 | void loop() 70 | { 71 | // Do a little animation by writing to the same location 72 | lcd.setCursor ( 14, 1 ); 73 | lcd.print (char(2)); 74 | delay (200); 75 | lcd.setCursor ( 14, 1 ); 76 | lcd.print ( char(0)); 77 | delay (200); 78 | } 79 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/examples/HelloWorld_SR/HelloWorld_SR.pde: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | LiquidCrystal_SR lcd(8,7,TWO_WIRE); 5 | // | | 6 | // | \-- Clock Pin 7 | // \---- Data/Enable Pin 8 | 9 | // Creat a set of new characters 10 | byte armsUp[8] = {0b00100,0b01010,0b00100,0b10101,0b01110,0b00100,0b00100,0b01010}; 11 | byte armsDown[8] = {0b00100,0b01010,0b00100,0b00100,0b01110,0b10101,0b00100,0b01010}; 12 | 13 | void setup(){ 14 | 15 | lcd.begin(16,2); // initialize the lcd 16 | 17 | lcd.createChar (0, armsUp); // load character to the LCD 18 | lcd.createChar (1, armsDown); // load character to the LCD 19 | 20 | lcd.home (); // go home 21 | lcd.print("LiquidCrystal_SR"); 22 | } 23 | 24 | void loop(){ 25 | // Do a little animation 26 | for(int i = 0; i <= 15; i++) showHappyGuy(i); 27 | for(int i = 15; i >= 0; i--) showHappyGuy(i); 28 | } 29 | 30 | void showHappyGuy(int pos){ 31 | lcd.setCursor ( pos, 1 ); // go to position 32 | lcd.print(char(random(0,2))); // show one of the two custom characters 33 | delay(150); // wait so it can be seen 34 | lcd.setCursor ( pos, 1 ); // go to position again 35 | lcd.print(" "); // delete character 36 | } -------------------------------------------------------------------------------- /libraries/LiquidCrystal/examples/HelloWorld_i2c/HelloWorld_i2c.pde: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | 5 | 6 | #define BACKLIGHT_PIN 13 7 | 8 | LiquidCrystal_I2C lcd(0x38); // Set the LCD I2C address 9 | 10 | //LiquidCrystal_I2C lcd(0x38, BACKLIGHT_PIN, POSITIVE); // Set the LCD I2C address 11 | 12 | 13 | // Creat a set of new characters 14 | const uint8_t charBitmap[][8] = { 15 | { 0xc, 0x12, 0x12, 0xc, 0, 0, 0, 0 }, 16 | { 0x6, 0x9, 0x9, 0x6, 0, 0, 0, 0 }, 17 | { 0x0, 0x6, 0x9, 0x9, 0x6, 0, 0, 0x0 }, 18 | { 0x0, 0xc, 0x12, 0x12, 0xc, 0, 0, 0x0 }, 19 | { 0x0, 0x0, 0xc, 0x12, 0x12, 0xc, 0, 0x0 }, 20 | { 0x0, 0x0, 0x6, 0x9, 0x9, 0x6, 0, 0x0 }, 21 | { 0x0, 0x0, 0x0, 0x6, 0x9, 0x9, 0x6, 0x0 }, 22 | { 0x0, 0x0, 0x0, 0xc, 0x12, 0x12, 0xc, 0x0 } 23 | 24 | }; 25 | 26 | void setup() 27 | { 28 | int charBitmapSize = (sizeof(charBitmap ) / sizeof (charBitmap[0])); 29 | 30 | // Switch on the backlight 31 | pinMode ( BACKLIGHT_PIN, OUTPUT ); 32 | digitalWrite ( BACKLIGHT_PIN, HIGH ); 33 | 34 | lcd.begin(16,2); // initialize the lcd 35 | 36 | for ( int i = 0; i < charBitmapSize; i++ ) 37 | { 38 | lcd.createChar ( i, (uint8_t *)charBitmap[i] ); 39 | } 40 | 41 | lcd.home (); // go home 42 | lcd.print("Hello, ARDUINO "); 43 | lcd.setCursor ( 0, 1 ); // go to the next line 44 | lcd.print (" FORUM - fm "); 45 | delay ( 1000 ); 46 | } 47 | 48 | void loop() 49 | { 50 | lcd.home (); 51 | // Do a little animation by writing to the same location 52 | for ( int i = 0; i < 2; i++ ) 53 | { 54 | for ( int j = 0; j < 16; j++ ) 55 | { 56 | lcd.print (char(random(7))); 57 | } 58 | lcd.setCursor ( 0, 1 ); 59 | } 60 | delay (200); 61 | } 62 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/examples/LCDiSpeed/LCDiSpeed.txt: -------------------------------------------------------------------------------- 1 | 16Mhz AVR 2 | Interface ByteXfer 16x2FPS Ftime 3 | ---------------------------------------------- 4 | 4BIT 338uS 86.92 11.51ms (orignal Liquid Crystal) 5 | 4BIT 98uS 298.58 3.35ms 6 | SR2W 76uS 388.62 2.57ms 7 | SR_2W 72uS 406.90 2.46ms 8 | SR_3W 61uS 480.03 2.08ms 9 | SR3W 102uS 287.92 3.47ms 10 | 11 | 12 | 80Mhz Pic32 (ChipKit Uno32) 13 | Interface ByteXfer 16x2FPS Ftime 14 | ---------------------------------------------- 15 | 4BIT 232uS 126.73 7.89ms (orignal mpide Liquid Crystal) 16 | 4BIT 57uS 517.41 1.93ms 17 | SR2W 53uS 557.35 1.79ms 18 | SR_2W 53uS 554.66 1.80ms 19 | SR_3W 50uS 591.40 1.69ms 20 | SR3W 56uS 524.91 1.91ms 21 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/examples/SerialDisplay/SerialDisplay.pde: -------------------------------------------------------------------------------- 1 | /* 2 | * Displays text sent over the serial port (e.g. from the Serial Monitor) on 3 | * an attached LCD. 4 | */ 5 | #include 6 | #include 7 | 8 | #define BACKLIGHT_PIN 13 9 | 10 | LiquidCrystal_I2C lcd(0x38); // set the LCD address to 0x38 11 | 12 | void setup() 13 | { 14 | pinMode ( BACKLIGHT_PIN, OUTPUT ); 15 | lcd.begin (16,2); 16 | digitalWrite ( BACKLIGHT_PIN, HIGH ); 17 | 18 | Serial.begin(57600); 19 | } 20 | 21 | void loop() 22 | { 23 | // when characters arrive over the serial port... 24 | if (Serial.available()) 25 | { 26 | // wait a bit for the entire message to arrive 27 | delay(100); 28 | // clear the screen 29 | lcd.clear(); 30 | // read all the available characters 31 | while (Serial.available() > 0) 32 | { 33 | // display each character to the LCD 34 | lcd.write(Serial.read()); 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /libraries/LiquidCrystal/examples/i2cLCDextraIO/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/examples/i2cLCDextraIO/.DS_Store -------------------------------------------------------------------------------- /libraries/LiquidCrystal/examples/performanceLCD/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/LiquidCrystal/examples/performanceLCD/.DS_Store -------------------------------------------------------------------------------- /libraries/LiquidCrystal/keywords.txt: -------------------------------------------------------------------------------- 1 | ########################################### 2 | # Syntax Coloring Map For LiquidCrystal_I2C 3 | ########################################### 4 | 5 | ########################################### 6 | # Datatypes (KEYWORD1) 7 | ########################################### 8 | 9 | LiquidCrystal_SR KEYWORD1 10 | LiquidCrystal_I2C KEYWORD1 11 | LiquidCrystal_SR3W KEYWORD1 12 | LiquidCrystal KEYWORD1 13 | LCD KEYWORD1 14 | 15 | ########################################### 16 | # Methods and Functions (KEYWORD2) 17 | ########################################### 18 | begin KEYWORD2 19 | clear KEYWORD2 20 | home KEYWORD2 21 | noDisplay KEYWORD2 22 | display KEYWORD2 23 | noBlink KEYWORD2 24 | blink KEYWORD2 25 | noCursor KEYWORD2 26 | cursor KEYWORD2 27 | scrollDisplayLeft KEYWORD2 28 | scrollDisplayRight KEYWORD2 29 | leftToRight KEYWORD2 30 | rightToLeft KEYWORD2 31 | moveCursorLeft KEYWORD2 32 | moveCursorRight KEYWORD2 33 | autoscroll KEYWORD2 34 | noAutoscroll KEYWORD2 35 | createChar KEYWORD2 36 | setCursor KEYWORD2 37 | print KEYWORD2 38 | write KEYWORD2 39 | println KEYWORD2 40 | backlight KEYWORD2 41 | noBacklight KEYWORD2 42 | on KEYWORD2 43 | off KEYWORD2 44 | setBacklightPin KEYWORD2 45 | setBacklight KEYWORD2 46 | ########################################### 47 | # Constants (LITERAL1) 48 | ########################################### 49 | POSITIVE LITERAL1 50 | NEGATIVE LITERAL1 51 | BACKLIGHT_ON LITERAL1 52 | BACKLIGHT_OFF LITERAL1 -------------------------------------------------------------------------------- /libraries/Micro_OLED_Breakout/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore list for Eagle, a PCB layout tool 2 | 3 | # Backup files 4 | *.s#? 5 | *.b#? 6 | *.l#? 7 | 8 | # Eagle project file 9 | # It contains a serial number and references to the file structure 10 | # on your computer. 11 | # comment the following line if you want to have your project file included. 12 | eagle.epf 13 | 14 | # CAM files 15 | *.$$$ 16 | *.cmp 17 | *.ly2 18 | *.l15 19 | *.sol 20 | *.plc 21 | *.stc 22 | *.sts 23 | *.crc 24 | *.crs 25 | 26 | *.dri 27 | *.drl 28 | *.gpi 29 | *.pls 30 | 31 | *.drd 32 | *.drd.* 33 | 34 | *.info 35 | 36 | *.eps 37 | -------------------------------------------------------------------------------- /libraries/Micro_OLED_Breakout/README.md: -------------------------------------------------------------------------------- 1 | SparkFun Micro OLED Breakout Arduino Library 2 | ======================================== 3 | 4 | ![SparkFun Micro OLED Breakout](https://cdn.sparkfun.com//assets/parts/9/9/5/6/OLED_Action.jpg) 5 | 6 | [*SparkFun Micro OLED Breakout (LCD-13003)*](https://www.sparkfun.com/products/13003) 7 | 8 | An Arduino library that allows you to draw shapes and text on the Micro OLED display. 9 | 10 | Repository Contents 11 | ------------------- 12 | 13 | * **/examples** - Example sketches for the library (.ino). Run these from the Arduino IDE. 14 | * **/extras** - Additional documentation for the user. These files are ignored by the IDE. 15 | * **/src** - Source files for the library (.cpp, .h). 16 | * **keywords.txt** - Keywords from this library that will be highlighted in the Arduino IDE. 17 | * **library.properties** - General library properties for the Arduino package manager. 18 | 19 | Documentation 20 | -------------- 21 | 22 | * **[Installing an Arduino Library Guide](https://learn.sparkfun.com/tutorials/installing-an-arduino-library)** - Basic information on how to install an Arduino library. 23 | * **[Product Repository](https://github.com/sparkfun/Micro_OLED_Breakout)** - Main repository (including hardware files) for the Micro OLED Breakout. 24 | * **[Hookup Guide](https://learn.sparkfun.com/tutorials/micro-oled-breakout-hookup-guide)** - Basic hookup guide for the Micro OLED Breakout. 25 | 26 | Products that use this Library 27 | --------------------------------- 28 | 29 | * [Micro OLED Breakout](https://www.sparkfun.com/products/13003)- A breakout for the monochrome 64x48 OLED. 30 | 31 | Version History 32 | --------------- 33 | 34 | * [TODO](TODO) - Description 35 | 36 | License Information 37 | ------------------- 38 | 39 | This product is _**open source**_! 40 | 41 | The **code** is released under the GPL v3 license. See the included LICENSE.md for more information. 42 | 43 | Distributed as-is; no warranty is given. 44 | 45 | - Your friends at SparkFun. 46 | -------------------------------------------------------------------------------- /libraries/Micro_OLED_Breakout/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For SFE_MicroOLED 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | MicroOLED KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | 15 | begin KEYWORD2 16 | invert KEYWORD2 17 | clear KEYWORD2 18 | invert KEYWORD2 19 | contrast KEYWORD2 20 | display KEYWORD2 21 | setCursor KEYWORD2 22 | pixel KEYWORD2 23 | line KEYWORD2 24 | lineH KEYWORD2 25 | lineV KEYWORD2 26 | rect KEYWORD2 27 | rectFill KEYWORD2 28 | circle KEYWORD2 29 | circleFill KEYWORD2 30 | drawChar KEYWORD2 31 | getLCDWidth KEYWORD2 32 | getLCDHeight KEYWORD2 33 | setColor KEYWORD2 34 | setDrawMode KEYWORD2 35 | getFontWidth KEYWORD2 36 | getFontHeight KEYWORD2 37 | getTotalFonts KEYWORD2 38 | getFontType KEYWORD2 39 | setFontType KEYWORD2 40 | getFontStartChar KEYWORD2 41 | getFontTotalChar KEYWORD2 42 | scrollRight KEYWORD2 43 | scrollLeft KEYWORD2 44 | scrollVertRight KEYWORD2 45 | scrollVertLeft KEYWORD2 46 | scrollStop KEYWORD2 47 | flipVertical KEYWORD2 48 | flipHorizontal KEYWORD2 49 | 50 | getX KEYWORD2 51 | getY KEYWORD2 52 | setX KEYWORD2 53 | setY KEYWORD2 54 | getMinValue KEYWORD2 55 | getMaxValue KEYWORD2 56 | setMaxValue KEYWORD2 57 | setMinValue KEYWORD2 58 | setValue KEYWORD2 59 | draw KEYWORD2 60 | drawFace KEYWORD2 61 | checkComm KEYWORD2 62 | 63 | ####################################### 64 | # Constants (LITERAL1) 65 | ####################################### 66 | 67 | BLACK LITERAL1 68 | WHITE LITERAL1 69 | NORM LITERAL1 70 | XOR LITERAL1 71 | PAGE LITERAL1 72 | ALL LITERAL1 73 | 74 | 75 | -------------------------------------------------------------------------------- /libraries/Micro_OLED_Breakout/library.properties: -------------------------------------------------------------------------------- 1 | name=Micro OLED Breakout 2 | version=1.0.0 3 | author=SparkFun Electronics 4 | maintainer=SparkFun Electronics 5 | sentence=Breakout board for a monochrome, 0.66", 64x48 OLED display. 6 | paragraph=Breakout board for a monochrome, 0.66", 64x48 OLED display. 7 | category=Display 8 | url=https://github.com/sparkfun/Micro_OLED_Breakout 9 | architectures=* 10 | -------------------------------------------------------------------------------- /libraries/PS2Keyboard/README.md: -------------------------------------------------------------------------------- 1 | #PS/2 Keyboard Library# 2 | 3 | PS2Keyboard allows you to use a keyboard for user input. 4 | 5 | http://www.pjrc.com/teensy/td_libs_PS2Keyboard.html 6 | 7 | ![](http://www.pjrc.com/teensy/td_libs_PS2Keyboard.jpg) 8 | -------------------------------------------------------------------------------- /libraries/PS2Keyboard/examples/International/International.pde: -------------------------------------------------------------------------------- 1 | /* PS2Keyboard library, International Keyboard Layout Example 2 | http://www.pjrc.com/teensy/td_libs_PS2Keyboard.html 3 | 4 | keyboard.begin() accepts an optional 3rd parameter to 5 | configure the PS2 keyboard layout. Uncomment the line for 6 | your keyboard. If it doesn't exist, you can create it in 7 | PS2Keyboard.cpp and email paul@pjrc.com to have it included 8 | in future versions of this library. 9 | */ 10 | 11 | #include 12 | 13 | const int DataPin = 8; 14 | const int IRQpin = 5; 15 | 16 | PS2Keyboard keyboard; 17 | 18 | void setup() { 19 | //keyboard.begin(DataPin, IRQpin, PS2Keymap_US); 20 | keyboard.begin(DataPin, IRQpin, PS2Keymap_German); 21 | //keyboard.begin(DataPin, IRQpin, PS2Keymap_French); 22 | Serial.begin(9600); 23 | Serial.println("International Keyboard Test:"); 24 | } 25 | 26 | void loop() { 27 | if (keyboard.available()) { 28 | char c = keyboard.read(); 29 | Serial.print(c); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /libraries/PS2Keyboard/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For PS2Keyboard 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | PS2Keyboard KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | 15 | ####################################### 16 | # Constants (LITERAL1) 17 | ####################################### 18 | 19 | PS2_KC_BREAK LITERAL1 20 | PS2_KC_ENTER LITERAL1 21 | PS2_KC_ESC LITERAL1 22 | PS2_KC_KPLUS LITERAL1 23 | PS2_KC_KMINUS LITERAL1 24 | PS2_KC_KMULTI LITERAL1 25 | PS2_KC_NUM LITERAL1 26 | PS2_KC_BKSP LITERAL1 27 | -------------------------------------------------------------------------------- /libraries/PS2Keyboard/library.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "PS2Keyboard", 3 | "keywords": "keyboard, emulation", 4 | "description": "PS2Keyboard (PS/2) allows you to use a keyboard for user input", 5 | "repository": 6 | { 7 | "type": "git", 8 | "url": "https://github.com/PaulStoffregen/PS2Keyboard.git" 9 | }, 10 | "frameworks": "arduino", 11 | "platforms": 12 | [ 13 | "atmelavr", 14 | "teensy" 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /libraries/PS2Keyboard/library.properties: -------------------------------------------------------------------------------- 1 | name=PS2Keyboard 2 | version=2.4 3 | author=Christian Weichel, Paul Stoffregen, L. Abraham Smith, Cuningan 4 | maintainer=Paul Stoffregen 5 | sentence=Use a PS/2 Keyboard for input 6 | paragraph= 7 | category=Signal Input/Output 8 | url=https://github.com/PaulStoffregen/PS2Keyboard 9 | architectures=* 10 | 11 | -------------------------------------------------------------------------------- /libraries/PS2Keyboard/utility/int_pins.h: -------------------------------------------------------------------------------- 1 | // interrupt pins for known boards 2 | 3 | // Teensy and maybe others automatically define this info 4 | #if !defined(CORE_INT0_PIN) && !defined(CORE_INT1_PIN) && !defined(CORE_INT2_PIN)&& !defined(CORE_INT3_PIN) 5 | 6 | // Arduino Mega 7 | #if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) // Arduino Mega 8 | #define CORE_INT0_PIN 2 9 | #define CORE_INT1_PIN 3 10 | #define CORE_INT2_PIN 21 11 | #define CORE_INT3_PIN 20 12 | #define CORE_INT4_PIN 19 13 | #define CORE_INT5_PIN 18 14 | 15 | // Arduino Due (untested) 16 | #elif defined(__SAM3X8E__) 17 | #define CORE_INT_EVERY_PIN 18 | #ifndef PROGMEM 19 | #define PROGMEM 20 | #endif 21 | #ifndef pgm_read_byte 22 | #define pgm_read_byte(addr) (*(const unsigned char *)(addr)) 23 | #endif 24 | 25 | // Arduino Leonardo (untested) 26 | #elif defined(__AVR_ATmega32U4__) && !defined(CORE_TEENSY) 27 | #define CORE_INT0_PIN 3 28 | #define CORE_INT1_PIN 2 29 | #define CORE_INT2_PIN 0 30 | #define CORE_INT3_PIN 1 31 | 32 | // Sanguino (untested) 33 | #elif defined(__AVR_ATmega644P__) || defined(__AVR_ATmega644__) // Sanguino 34 | #define CORE_INT0_PIN 10 35 | #define CORE_INT1_PIN 11 36 | #define CORE_INT2_PIN 2 37 | 38 | // Chipkit Uno32 (untested) 39 | #elif defined(__PIC32MX__) && defined(_BOARD_UNO_) 40 | #define CORE_INT0_PIN 38 41 | #define CORE_INT1_PIN 2 42 | #define CORE_INT2_PIN 7 43 | #define CORE_INT3_PIN 8 44 | #define CORE_INT4_PIN 35 45 | 46 | // Chipkit Mega32 (untested) 47 | #elif defined(__PIC32MX__) && defined(_BOARD_MEGA_) 48 | #define CORE_INT0_PIN 3 49 | #define CORE_INT1_PIN 2 50 | #define CORE_INT2_PIN 7 51 | #define CORE_INT3_PIN 21 52 | #define CORE_INT4_PIN 20 53 | 54 | // http://hlt.media.mit.edu/?p=1229 55 | #elif defined(__AVR_ATtiny45__) || defined(__AVR_ATtiny85__) 56 | #define CORE_INT0_PIN 2 57 | 58 | // Arduino Uno, Duemilanove, LilyPad, Mini, Fio, etc... 59 | #else 60 | #define CORE_INT0_PIN 2 61 | #define CORE_INT1_PIN 3 62 | 63 | #endif 64 | #endif 65 | 66 | -------------------------------------------------------------------------------- /libraries/SparkFun_Micro_OLED_Breakout/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore list for Eagle, a PCB layout tool 2 | 3 | # Backup files 4 | *.s#? 5 | *.b#? 6 | *.l#? 7 | 8 | # Eagle project file 9 | # It contains a serial number and references to the file structure 10 | # on your computer. 11 | # comment the following line if you want to have your project file included. 12 | eagle.epf 13 | 14 | # CAM files 15 | *.$$$ 16 | *.cmp 17 | *.ly2 18 | *.l15 19 | *.sol 20 | *.plc 21 | *.stc 22 | *.sts 23 | *.crc 24 | *.crs 25 | 26 | *.dri 27 | *.drl 28 | *.gpi 29 | *.pls 30 | 31 | *.drd 32 | *.drd.* 33 | 34 | *.info 35 | 36 | *.eps 37 | -------------------------------------------------------------------------------- /libraries/SparkFun_Micro_OLED_Breakout/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For SFE_MicroOLED 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | 9 | MicroOLED KEYWORD1 10 | 11 | ####################################### 12 | # Methods and Functions (KEYWORD2) 13 | ####################################### 14 | 15 | begin KEYWORD2 16 | invert KEYWORD2 17 | clear KEYWORD2 18 | invert KEYWORD2 19 | contrast KEYWORD2 20 | display KEYWORD2 21 | setCursor KEYWORD2 22 | pixel KEYWORD2 23 | line KEYWORD2 24 | lineH KEYWORD2 25 | lineV KEYWORD2 26 | rect KEYWORD2 27 | rectFill KEYWORD2 28 | circle KEYWORD2 29 | circleFill KEYWORD2 30 | drawChar KEYWORD2 31 | getLCDWidth KEYWORD2 32 | getLCDHeight KEYWORD2 33 | setColor KEYWORD2 34 | setDrawMode KEYWORD2 35 | getFontWidth KEYWORD2 36 | getFontHeight KEYWORD2 37 | getTotalFonts KEYWORD2 38 | getFontType KEYWORD2 39 | setFontType KEYWORD2 40 | getFontStartChar KEYWORD2 41 | getFontTotalChar KEYWORD2 42 | scrollRight KEYWORD2 43 | scrollLeft KEYWORD2 44 | scrollVertRight KEYWORD2 45 | scrollVertLeft KEYWORD2 46 | scrollStop KEYWORD2 47 | flipVertical KEYWORD2 48 | flipHorizontal KEYWORD2 49 | 50 | getX KEYWORD2 51 | getY KEYWORD2 52 | setX KEYWORD2 53 | setY KEYWORD2 54 | getMinValue KEYWORD2 55 | getMaxValue KEYWORD2 56 | setMaxValue KEYWORD2 57 | setMinValue KEYWORD2 58 | setValue KEYWORD2 59 | draw KEYWORD2 60 | drawFace KEYWORD2 61 | checkComm KEYWORD2 62 | 63 | ####################################### 64 | # Constants (LITERAL1) 65 | ####################################### 66 | 67 | BLACK LITERAL1 68 | WHITE LITERAL1 69 | NORM LITERAL1 70 | XOR LITERAL1 71 | PAGE LITERAL1 72 | ALL LITERAL1 73 | 74 | 75 | -------------------------------------------------------------------------------- /libraries/SparkFun_Micro_OLED_Breakout/library.properties: -------------------------------------------------------------------------------- 1 | name=SparkFun Micro OLED Breakout 2 | version=1.1.2 3 | author=SparkFun Electronics 4 | maintainer=SparkFun Electronics 5 | sentence=Library for the SparkFun Micro OLED Breakout. 6 | paragraph=Library for the Micro OLED Breakout, a monochrome, 0.66", 64x48 OLED display. Several basic functionlity examples included. 7 | category=Display 8 | url=https://github.com/sparkfun/SparkFun_Micro_OLED_Arduino_Library 9 | architectures=* 10 | -------------------------------------------------------------------------------- /libraries/ThingSpeak/extras/documentation/ThingSpeakLogo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/ThingSpeak/extras/documentation/ThingSpeakLogo.jpg -------------------------------------------------------------------------------- /libraries/ThingSpeak/extras/documentation/arrowdown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/ThingSpeak/extras/documentation/arrowdown.png -------------------------------------------------------------------------------- /libraries/ThingSpeak/extras/documentation/arrowright.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/ThingSpeak/extras/documentation/arrowright.png -------------------------------------------------------------------------------- /libraries/ThingSpeak/extras/documentation/bc_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/ThingSpeak/extras/documentation/bc_s.png -------------------------------------------------------------------------------- /libraries/ThingSpeak/extras/documentation/bdwn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/ThingSpeak/extras/documentation/bdwn.png -------------------------------------------------------------------------------- /libraries/ThingSpeak/extras/documentation/closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/ThingSpeak/extras/documentation/closed.png -------------------------------------------------------------------------------- /libraries/ThingSpeak/extras/documentation/doc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/ThingSpeak/extras/documentation/doc.png -------------------------------------------------------------------------------- /libraries/ThingSpeak/extras/documentation/doxygen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/ThingSpeak/extras/documentation/doxygen.png -------------------------------------------------------------------------------- /libraries/ThingSpeak/extras/documentation/folderclosed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/ThingSpeak/extras/documentation/folderclosed.png -------------------------------------------------------------------------------- /libraries/ThingSpeak/extras/documentation/folderopen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/ThingSpeak/extras/documentation/folderopen.png -------------------------------------------------------------------------------- /libraries/ThingSpeak/extras/documentation/nav_f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/ThingSpeak/extras/documentation/nav_f.png -------------------------------------------------------------------------------- /libraries/ThingSpeak/extras/documentation/nav_g.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/ThingSpeak/extras/documentation/nav_g.png -------------------------------------------------------------------------------- /libraries/ThingSpeak/extras/documentation/nav_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/ThingSpeak/extras/documentation/nav_h.png -------------------------------------------------------------------------------- /libraries/ThingSpeak/extras/documentation/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/ThingSpeak/extras/documentation/open.png -------------------------------------------------------------------------------- /libraries/ThingSpeak/extras/documentation/splitbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/ThingSpeak/extras/documentation/splitbar.png -------------------------------------------------------------------------------- /libraries/ThingSpeak/extras/documentation/sync_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/ThingSpeak/extras/documentation/sync_off.png -------------------------------------------------------------------------------- /libraries/ThingSpeak/extras/documentation/sync_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/ThingSpeak/extras/documentation/sync_on.png -------------------------------------------------------------------------------- /libraries/ThingSpeak/extras/documentation/tab_a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/ThingSpeak/extras/documentation/tab_a.png -------------------------------------------------------------------------------- /libraries/ThingSpeak/extras/documentation/tab_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/ThingSpeak/extras/documentation/tab_b.png -------------------------------------------------------------------------------- /libraries/ThingSpeak/extras/documentation/tab_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/ThingSpeak/extras/documentation/tab_h.png -------------------------------------------------------------------------------- /libraries/ThingSpeak/extras/documentation/tab_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/ThingSpeak/extras/documentation/tab_s.png -------------------------------------------------------------------------------- /libraries/ThingSpeak/extras/documentation/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 | font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; 7 | } 8 | 9 | .tabs2 { 10 | font-size: 10px; 11 | } 12 | .tabs3 { 13 | font-size: 9px; 14 | } 15 | 16 | .tablist { 17 | margin: 0; 18 | padding: 0; 19 | display: table; 20 | } 21 | 22 | .tablist li { 23 | float: left; 24 | display: table-cell; 25 | background-image: url('tab_b.png'); 26 | line-height: 36px; 27 | list-style: none; 28 | } 29 | 30 | .tablist a { 31 | display: block; 32 | padding: 0 20px; 33 | font-weight: bold; 34 | background-image:url('tab_s.png'); 35 | background-repeat:no-repeat; 36 | background-position:right; 37 | color: #283A5D; 38 | text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); 39 | text-decoration: none; 40 | outline: none; 41 | } 42 | 43 | .tabs3 .tablist a { 44 | padding: 0 10px; 45 | } 46 | 47 | .tablist a:hover { 48 | background-image: url('tab_h.png'); 49 | background-repeat:repeat-x; 50 | color: #fff; 51 | text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); 52 | text-decoration: none; 53 | } 54 | 55 | .tablist li.current a { 56 | background-image: url('tab_a.png'); 57 | background-repeat:repeat-x; 58 | color: #fff; 59 | text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); 60 | } 61 | -------------------------------------------------------------------------------- /libraries/ThingSpeak/keywords.txt: -------------------------------------------------------------------------------- 1 | ThingSpeak KEYWORD1 2 | begin KEYWORD2 3 | writeField KEYWORD2 4 | setField KEYWORD2 5 | setLatitude KEYWORD2 6 | setLongitude KEYWORD2 7 | setElevation KEYWORD2 8 | writeRaw KEYWORD2 9 | writeFields KEYWORD2 10 | readFloatField KEYWORD2 11 | readIntField KEYWORD2 12 | readLongField KEYWORD2 13 | readStringField KEYWORD2 14 | readRaw KEYWORD2 15 | getLastReadStatus KEYWORD2 -------------------------------------------------------------------------------- /libraries/ThingSpeak/library.properties: -------------------------------------------------------------------------------- 1 | name=ThingSpeak 2 | version=1.0.1 3 | author=MathWorks 4 | maintainer=MathWorks 5 | sentence=ThingSpeak Communication Library for Arduino 6 | paragraph=ThingSpeak ( https://www.thingspeak.com ) is a free IoT service for building systems that collect, analyze, and react to their environments. 7 | category=Communication 8 | url=https://www.thingspeak.com/ 9 | architectures=* -------------------------------------------------------------------------------- /libraries/ThingSpeak/license.md: -------------------------------------------------------------------------------- 1 | Copyright :copyright: 2015, The MathWorks, Inc. 2 | 3 | All rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 6 | 7 | 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 8 | 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 9 | 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 10 | 4. In all cases, the software is, and all modifications and derivatives of the software shall be, licensed to you solely for use in conjunction with MathWorks products and service offerings. 11 | 12 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 13 | -------------------------------------------------------------------------------- /libraries/ThingSpeak/src/ThingSpeak.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | ThingSpeak Communication Library For Arduino 3 | 4 | ThingSpeak ( https://www.thingspeak.com ) is a free IoT service for building 5 | systems that collect, analyze, and react to their environments. 6 | 7 | Copyright 2015, The MathWorks, Inc. 8 | 9 | See the accompaning licence file for licensing information. 10 | */ 11 | 12 | #include "ThingSpeak.h" 13 | ThingSpeakClass ThingSpeak; 14 | -------------------------------------------------------------------------------- /libraries/U8glib/README.md: -------------------------------------------------------------------------------- 1 | 2 | # U8glib 3 | 4 | A graphics library with support for many different monochrome displays. 5 | 6 | ![nhd_oled180.jpg](https://github.com/olikraus/u8glib/wiki/otherpic/nhd_oled180.jpg) ![dogs102_180.jpg](https://github.com/olikraus/u8glib/wiki/otherpic/dogs102_180.jpg) 7 | 8 | Left: NHD-2.7-12864 OLED (SSD1325), right: EA DOGS102 LCD (UC1701) 9 | 10 | * [Gallery](https://github.com/olikraus/u8glib/wiki/gallery) 11 | * [Bintray](https://bintray.com/olikraus/u8glib) download links: 12 | * [U8glib for Arduino](https://bintray.com/olikraus/u8glib/Arduino) 13 | * [U8glib for AVR](https://bintray.com/olikraus/u8glib/AVR) 14 | * [U8glib for ARM](https://bintray.com/olikraus/u8glib/ARM) 15 | * Converter for BDF fonts: [bdf2u8g_101.exe on google drive](https://drive.google.com/folderview?id=0B5b6Dv0wCeCRLWJkYTh2TUlYVDg&usp=sharing). 16 | * Supported environments: 17 | * [Arduino (ATMEGA and ARM)](http://www.arduino.cc/) 18 | * [AVR (ATMEGA)](https://github.com/olikraus/u8glib/wiki/avr) 19 | * [ARM (with example for LPC1114)](https://github.com/olikraus/u8glib/wiki/lpc1114) 20 | * Library for graphic LCDs and OLEDs 21 | * [U8glib documentation and tutorials](https://github.com/olikraus/u8glib/wiki) 22 | * Graphical user interface library (GUI) available: [M2tklib](http://code.google.com/p/m2tklib/) 23 | * COM interfaces: Software SPI, Hardware SPI, 8Bit parallel 24 | * Large number of [fonts](https://github.com/olikraus/u8glib/wiki/fontsize) 25 | * Monospaced and proportional fonts 26 | * Mouse-Cursor support 27 | * Landscape and portrait mode 28 | * Many supported [devices](https://github.com/olikraus/u8glib/wiki/device) (SSD1325, ST7565, ST7920, UC1608, UC1610, UC1701, PCD8544, PCF8812, KS0108, LC7981, SBN1661, SSD1306, SH1106, T6963, LD7032) 29 | * Well-defined interface to the device subsystem 30 | 31 | -------------------------------------------------------------------------------- /libraries/U8glib/extras/INSTALL.TXT: -------------------------------------------------------------------------------- 1 | 2 | U8GLIB 3 | http://code.google.com/p/u8glib/ 4 | 5 | Install instructions for the Arduino environment. 6 | 7 | 1. Start Arduino IDE 8 | 2. In the Arduino IDE, import the library from the "Add Library" Menu. 9 | 10 | Alternative install instructions for the Arduino environment. 11 | 12 | 1. Unzip u8glib_arduino_vX.XX.zip into the "libraries" folder of the 13 | Arduino install directory 14 | 2. Start Arduino IDE 15 | 16 | Install instructions for the Chipkit (Arduino) environment. 17 | 18 | 1. cd /libraries 19 | 2. unzip u8glib_arduino_vX.XX.zip 20 | 3. cd ///hardware/pic32/libraries 21 | 4. again: u8glib_arduino_vX.XX.zip 22 | 5. Open hardware/pic32/cores/pic32/Print.h 23 | Remove line 24 | #define BYTE 0 25 | from the file, use PRINT_BYTE instead of BYTE. 26 | -------------------------------------------------------------------------------- /libraries/U8glib/library.properties: -------------------------------------------------------------------------------- 1 | name=U8glib 2 | version=1.18 3 | author=oliver 4 | maintainer=oliver 5 | sentence=A library for monochrome TFTs and OLEDs 6 | paragraph=Supported display controller: SSD1306, SSD1309, SSD1322, SSD1325, SSD1327, SH1106, UC1601, UC1610, UC1611, UC1701, ST7565, ST7920, KS0108, LC7981, PCD8544, PCF8812, SBN1661, TLS8204, T6963. 7 | category=Display 8 | url=https://github.com/olikraus/u8glib 9 | architectures=avr,sam -------------------------------------------------------------------------------- /libraries/U8glib/src/clib/chessengine.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/U8glib/src/clib/chessengine.c -------------------------------------------------------------------------------- /libraries/U8glib/src/clib/u8g_com_null.c: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | u8g_com_null.c 4 | 5 | communication null device 6 | 7 | Universal 8bit Graphics Library 8 | 9 | Copyright (c) 2011, olikraus@gmail.com 10 | All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without modification, 13 | are permitted provided that the following conditions are met: 14 | 15 | * Redistributions of source code must retain the above copyright notice, this list 16 | of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright notice, this 19 | list of conditions and the following disclaimer in the documentation and/or other 20 | materials provided with the distribution. 21 | 22 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 23 | CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 24 | INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 25 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 26 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 27 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 28 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 29 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 30 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 31 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 32 | STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 33 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 34 | ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35 | 36 | 37 | */ 38 | 39 | #include "u8g.h" 40 | 41 | uint8_t u8g_com_null_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val, void *arg_ptr) 42 | { 43 | switch(msg) 44 | { 45 | case U8G_COM_MSG_INIT: 46 | break; 47 | case U8G_COM_MSG_STOP: 48 | break; 49 | 50 | 51 | case U8G_COM_MSG_CHIP_SELECT: 52 | /* arg_val contains the chip number, which should be enabled */ 53 | break; 54 | 55 | 56 | case U8G_COM_MSG_WRITE_BYTE: 57 | break; 58 | case U8G_COM_MSG_WRITE_SEQ: 59 | break; 60 | } 61 | return 1; 62 | } 63 | 64 | -------------------------------------------------------------------------------- /libraries/U8glib/src/clib/u8g_font_data.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmiscool/esp8266Basic/e05b67c5268d73694d7d35063f6d9ffe268948a9/libraries/U8glib/src/clib/u8g_font_data.c -------------------------------------------------------------------------------- /libraries/U8glib/src/clib/u8g_u16toa.c: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | u8g_u16toa.c 4 | 5 | 6 | Universal 8bit Graphics Library 7 | 8 | Copyright (c) 2012, olikraus@gmail.com 9 | All rights reserved. 10 | 11 | Redistribution and use in source and binary forms, with or without modification, 12 | are permitted provided that the following conditions are met: 13 | 14 | * Redistributions of source code must retain the above copyright notice, this list 15 | of conditions and the following disclaimer. 16 | 17 | * Redistributions in binary form must reproduce the above copyright notice, this 18 | list of conditions and the following disclaimer in the documentation and/or other 19 | materials provided with the distribution. 20 | 21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 22 | CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 23 | INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 24 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 26 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 27 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 29 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 30 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 31 | STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 32 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 33 | ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34 | 35 | */ 36 | 37 | 38 | #include "u8g.h" 39 | 40 | const char *u8g_u16toap(char * dest, uint16_t v) 41 | { 42 | uint8_t pos; 43 | uint8_t d; 44 | uint16_t c; 45 | c = 10000; 46 | for( pos = 0; pos < 5; pos++ ) 47 | { 48 | d = '0'; 49 | while( v >= c ) 50 | { 51 | v -= c; 52 | d++; 53 | } 54 | dest[pos] = d; 55 | c /= 10; 56 | } 57 | dest[5] = '\0'; 58 | return dest; 59 | } 60 | 61 | /* v = value, d = number of digits */ 62 | const char *u8g_u16toa(uint16_t v, uint8_t d) 63 | { 64 | static char buf[6]; 65 | d = 5-d; 66 | return u8g_u16toap(buf, v) + d; 67 | } 68 | 69 | -------------------------------------------------------------------------------- /libraries/U8glib/src/clib/u8g_u8toa.c: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | u8g_u8toa.c 4 | 5 | 6 | Universal 8bit Graphics Library 7 | 8 | Copyright (c) 2011, olikraus@gmail.com 9 | All rights reserved. 10 | 11 | Redistribution and use in source and binary forms, with or without modification, 12 | are permitted provided that the following conditions are met: 13 | 14 | * Redistributions of source code must retain the above copyright notice, this list 15 | of conditions and the following disclaimer. 16 | 17 | * Redistributions in binary form must reproduce the above copyright notice, this 18 | list of conditions and the following disclaimer in the documentation and/or other 19 | materials provided with the distribution. 20 | 21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 22 | CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 23 | INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 24 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 26 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 27 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 28 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 29 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 30 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 31 | STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 32 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 33 | ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34 | 35 | */ 36 | 37 | 38 | #include "u8g.h" 39 | 40 | static const unsigned char u8g_u8toa_tab[3] = { 100, 10, 1 } ; 41 | const char *u8g_u8toap(char * dest, uint8_t v) 42 | { 43 | uint8_t pos; 44 | uint8_t d; 45 | uint8_t c; 46 | for( pos = 0; pos < 3; pos++ ) 47 | { 48 | d = '0'; 49 | c = *(u8g_u8toa_tab+pos); 50 | while( v >= c ) 51 | { 52 | v -= c; 53 | d++; 54 | } 55 | dest[pos] = d; 56 | } 57 | dest[3] = '\0'; 58 | return dest; 59 | } 60 | 61 | /* v = value, d = number of digits */ 62 | const char *u8g_u8toa(uint8_t v, uint8_t d) 63 | { 64 | static char buf[4]; 65 | d = 3-d; 66 | return u8g_u8toap(buf, v) + d; 67 | } 68 | 69 | -------------------------------------------------------------------------------- /libraries/dallas-temperature-control/README.TXT: -------------------------------------------------------------------------------- 1 | Arduino Library for Dallas Temperature ICs 2 | ========================================== 3 | 4 | Usage 5 | ----- 6 | 7 | This library supports the following devices: 8 | DS18B20 9 | DS18S20 - Please note there appears to be an issue with this series. 10 | DS1822 11 | 12 | You will need a pull-up resistor of about 5 KOhm between the 1-Wire data line 13 | and your 5V power. If you are using the DS18B20, ground pins 1 and 3. The 14 | centre pin is the data line '1-wire'. 15 | 16 | We have included a "REQUIRESNEW" and "REQUIRESALARMS" definition. If you 17 | want to slim down the code feel free to use either of these by including 18 | #define REQUIRESNEW or #define REQUIRESALARMS a the top of DallasTemperature.h 19 | 20 | Credits 21 | ------- 22 | 23 | The OneWire code has been derived from 24 | http://www.arduino.cc/playground/Learning/OneWire. 25 | Miles Burton originally developed this library. 26 | Tim Newsome added support for multiple sensors on 27 | the same bus. 28 | Guil Barros [gfbarros@bappos.com] added getTempByAddress (v3.5) 29 | Rob Tillaart [rob.tillaart@gmail.com] added async modus (v3.7.0) 30 | 31 | 32 | Website 33 | ------- 34 | 35 | You can find the latest version of the library at 36 | http://milesburton.com/index.php?title=Dallas_Temperature_Control_Library 37 | 38 | License 39 | ------- 40 | 41 | This library is free software; you can redistribute it and/or 42 | modify it under the terms of the GNU Lesser General Public 43 | License as published by the Free Software Foundation; either 44 | version 2.1 of the License, or (at your option) any later version. 45 | 46 | This library is distributed in the hope that it will be useful, 47 | but WITHOUT ANY WARRANTY; without even the implied warranty of 48 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 49 | Lesser General Public License for more details. 50 | 51 | You should have received a copy of the GNU Lesser General Public 52 | License along with this library; if not, write to the Free Software 53 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 54 | -------------------------------------------------------------------------------- /libraries/dallas-temperature-control/examples/Simple/Simple.pde: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | // Data wire is plugged into port 2 on the Arduino 5 | #define ONE_WIRE_BUS 2 6 | 7 | // Setup a oneWire instance to communicate with any OneWire devices (not just Maxim/Dallas temperature ICs) 8 | OneWire oneWire(ONE_WIRE_BUS); 9 | 10 | // Pass our oneWire reference to Dallas Temperature. 11 | DallasTemperature sensors(&oneWire); 12 | 13 | void setup(void) 14 | { 15 | // start serial port 16 | Serial.begin(9600); 17 | Serial.println("Dallas Temperature IC Control Library Demo"); 18 | 19 | // Start up the library 20 | sensors.begin(); 21 | } 22 | 23 | void loop(void) 24 | { 25 | // call sensors.requestTemperatures() to issue a global temperature 26 | // request to all devices on the bus 27 | Serial.print("Requesting temperatures..."); 28 | sensors.requestTemperatures(); // Send the command to get temperatures 29 | Serial.println("DONE"); 30 | 31 | Serial.print("Temperature for the device 1 (index 0) is: "); 32 | Serial.println(sensors.getTempCByIndex(0)); 33 | } 34 | -------------------------------------------------------------------------------- /libraries/dallas-temperature-control/examples/WaitForConversion/WaitForConversion.pde: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | // Data wire is plugged into port 2 on the Arduino 5 | #define ONE_WIRE_BUS 2 6 | 7 | // Setup a oneWire instance to communicate with any OneWire devices (not just Maxim/Dallas temperature ICs) 8 | OneWire oneWire(ONE_WIRE_BUS); 9 | 10 | // Pass our oneWire reference to Dallas Temperature. 11 | DallasTemperature sensors(&oneWire); 12 | 13 | void setup(void) 14 | { 15 | // start serial port 16 | Serial.begin(115200); 17 | Serial.println("Dallas Temperature Control Library - Async Demo"); 18 | Serial.println("\nDemo shows the difference in length of the call\n\n"); 19 | 20 | // Start up the library 21 | sensors.begin(); 22 | } 23 | 24 | void loop(void) 25 | { 26 | // Request temperature conversion (traditional) 27 | Serial.println("Before blocking requestForConversion"); 28 | unsigned long start = millis(); 29 | 30 | sensors.requestTemperatures(); 31 | 32 | unsigned long stop = millis(); 33 | Serial.println("After blocking requestForConversion"); 34 | Serial.print("Time used: "); 35 | Serial.println(stop - start); 36 | 37 | // get temperature 38 | Serial.print("Temperature: "); 39 | Serial.println(sensors.getTempCByIndex(0)); 40 | Serial.println("\n"); 41 | 42 | // Request temperature conversion - non-blocking / async 43 | Serial.println("Before NON-blocking/async requestForConversion"); 44 | start = millis(); 45 | sensors.setWaitForConversion(false); // makes it async 46 | sensors.requestTemperatures(); 47 | sensors.setWaitForConversion(true); 48 | stop = millis(); 49 | Serial.println("After NON-blocking/async requestForConversion"); 50 | Serial.print("Time used: "); 51 | Serial.println(stop - start); 52 | 53 | 54 | // 9 bit resolution by default 55 | // Note the programmer is responsible for the right delay 56 | // we could do something usefull here instead of the delay 57 | int resolution = 9; 58 | delay(750/ (1 << (12-resolution))); 59 | 60 | // get temperature 61 | Serial.print("Temperature: "); 62 | Serial.println(sensors.getTempCByIndex(0)); 63 | Serial.println("\n\n\n\n"); 64 | 65 | delay(5000); 66 | } 67 | -------------------------------------------------------------------------------- /libraries/dallas-temperature-control/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map For Ultrasound 3 | ####################################### 4 | 5 | ####################################### 6 | # Datatypes (KEYWORD1) 7 | ####################################### 8 | DallasTemperature KEYWORD1 9 | OneWire KEYWORD1 10 | AlarmHandler KEYWORD1 11 | DeviceAddress KEYWORD1 12 | 13 | ####################################### 14 | # Methods and Functions (KEYWORD2) 15 | ####################################### 16 | 17 | setResolution KEYWORD2 18 | getResolution KEYWORD2 19 | getTempC KEYWORD2 20 | toFahrenheit KEYWORD2 21 | getTempF KEYWORD2 22 | getTempCByIndex KEYWORD2 23 | getTempFByIndex KEYWORD2 24 | setWaitForConversion KEYWORD2 25 | getWaitForConversion KEYWORD2 26 | requestTemperatures KEYWORD2 27 | requestTemperaturesByAddress KEYWORD2 28 | requestTemperaturesByIndex KEYWORD2 29 | isParasitePowerMode KEYWORD2 30 | begin KEYWORD2 31 | getDeviceCount KEYWORD2 32 | getAddress KEYWORD2 33 | validAddress KEYWORD2 34 | isConnected KEYWORD2 35 | readScratchPad KEYWORD2 36 | writeScratchPad KEYWORD2 37 | readPowerSupply KEYWORD2 38 | setHighAlarmTemp KEYWORD2 39 | setLowAlarmTemp KEYWORD2 40 | getHighAlarmTemp KEYWORD2 41 | getLowAlarmTemp KEYWORD2 42 | resetAlarmSearch KEYWORD2 43 | alarmSearch KEYWORD2 44 | hasAlarm KEYWORD2 45 | toCelsius KEYWORD2 46 | processAlarmss KEYWORD2 47 | setAlarmHandlers KEYWORD2 48 | defaultAlarmHandler KEYWORD2 49 | calculateTemperature KEYWORD2 50 | 51 | ####################################### 52 | # Constants (LITERAL1) 53 | ####################################### 54 | 55 | -------------------------------------------------------------------------------- /libraries/espsoftwareserial/README.md: -------------------------------------------------------------------------------- 1 | # EspSoftwareSerial 2 | 3 | Implementation of the Arduino software serial library for the ESP8266 4 | 5 | Same functionality as the corresponding AVR library but several instances can be active at the same time. 6 | Speed up to 115200 baud is supported. The constructor also has an optional input buffer size. 7 | 8 | Please note that due to the fact that the ESP always have other activities ongoing, there will be some inexactness in interrupt 9 | timings. This may lead to bit errors when having heavy data traffic in high baud rates. 10 | 11 | 12 | -------------------------------------------------------------------------------- /libraries/espsoftwareserial/examples/swsertest/swsertest.ino: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | 4 | SoftwareSerial swSer(14, 12, false, 256); 5 | 6 | void setup() { 7 | Serial.begin(115200); 8 | swSer.begin(115200); 9 | 10 | Serial.println("\nSoftware serial test started"); 11 | 12 | for (char ch = ' '; ch <= 'z'; ch++) { 13 | swSer.write(ch); 14 | } 15 | swSer.println(""); 16 | 17 | } 18 | 19 | void loop() { 20 | while (swSer.available() > 0) { 21 | Serial.write(swSer.read()); 22 | } 23 | while (Serial.available() > 0) { 24 | swSer.write(Serial.read()); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /libraries/espsoftwareserial/keywords.txt: -------------------------------------------------------------------------------- 1 | ####################################### 2 | # Syntax Coloring Map for SoftwareSerial 3 | # (esp8266) 4 | ####################################### 5 | 6 | ####################################### 7 | # Datatypes (KEYWORD1) 8 | ####################################### 9 | 10 | SoftwareSerial KEYWORD1 11 | 12 | ####################################### 13 | # Methods and Functions (KEYWORD2) 14 | ####################################### 15 | 16 | begin KEYWORD2 17 | read KEYWORD2 18 | write KEYWORD2 19 | available KEYWORD2 20 | flush KEYWORD2 21 | peek KEYWORD2 22 | 23 | ####################################### 24 | # Constants (LITERAL1) 25 | ####################################### 26 | 27 | -------------------------------------------------------------------------------- /libraries/espsoftwareserial/library.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "EspSoftwareSerial", 3 | "keywords": [ 4 | "serial", "io", "softwareserial" 5 | ], 6 | "description": "Implementation of the Arduino software serial for ESP8266.", 7 | "repository": 8 | { 9 | "type": "git", 10 | "url": "https://github.com/plerup/espsoftwareserial" 11 | }, 12 | "frameworks": "arduino", 13 | "platforms": "espressif" 14 | } 15 | -------------------------------------------------------------------------------- /libraries/espsoftwareserial/library.properties: -------------------------------------------------------------------------------- 1 | name=SoftwareSerial 2 | version=1.0 3 | author=Peter Lerup 4 | maintainer=Peter Lerup 5 | sentence=Implementation of the Arduino software serial for ESP8266. 6 | paragraph= 7 | category=Signal Input/Output 8 | url= 9 | architectures=esp8266 10 | -------------------------------------------------------------------------------- /libraries/readme.txt: -------------------------------------------------------------------------------- 1 | For information on installing libraries, see: http://www.arduino.cc/en/Guide/Libraries 2 | --------------------------------------------------------------------------------