diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 000000000..f0e26146f --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,46 @@ +Thank you for opening an issue on an Adafruit Arduino library repository. To +improve the speed of resolution please review the following guidelines and +common troubleshooting steps below before creating the issue: + +- **Do not use GitHub issues for troubleshooting projects and issues.** Instead use + the forums at http://forums.adafruit.com to ask questions and troubleshoot why + something isn't working as expected. In many cases the problem is a common issue + that you will more quickly receive help from the forum community. GitHub issues + are meant for known defects in the code. If you don't know if there is a defect + in the code then start with troubleshooting on the forum first. + +- **If following a tutorial or guide be sure you didn't miss a step.** Carefully + check all of the steps and commands to run have been followed. Consult the + forum if you're unsure or have questions about steps in a guide/tutorial. + +- **For Arduino projects check these very common issues to ensure they don't apply**: + + - For uploading sketches or communicating with the board make sure you're using + a **USB data cable** and **not** a **USB charge-only cable**. It is sometimes + very hard to tell the difference between a data and charge cable! Try using the + cable with other devices or swapping to another cable to confirm it is not + the problem. + + - **Be sure you are supplying adequate power to the board.** Check the specs of + your board and plug in an external power supply. In many cases just + plugging a board into your computer is not enough to power it and other + peripherals. + + - **Double check all soldering joints and connections.** Flakey connections + cause many mysterious problems. See the [guide to excellent soldering](https://learn.adafruit.com/adafruit-guide-excellent-soldering/tools) for examples of good solder joints. + + - **Ensure you are using an official Arduino or Adafruit board.** We can't + guarantee a clone board will have the same functionality and work as expected + with this code and don't support them. + +If you're sure this issue is a defect in the code and checked the steps above +please fill in the following fields to provide enough troubleshooting information. +You may delete the guideline and text above to just leave the following details: + +- Arduino board: **INSERT ARDUINO BOARD NAME/TYPE HERE** + +- Arduino IDE version (found in Arduino -> About Arduino menu): **INSERT ARDUINO + VERSION HERE** + +- List the steps to reproduce the problem below (if possible attach a sketch or + copy the sketch code in too): **LIST REPRO STEPS BELOW** diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 000000000..7b641eb86 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,26 @@ +Thank you for creating a pull request to contribute to Adafruit's GitHub code! +Before you open the request please review the following guidelines and tips to +help it be more easily integrated: + +- **Describe the scope of your change--i.e. what the change does and what parts + of the code were modified.** This will help us understand any risks of integrating + the code. + +- **Describe any known limitations with your change.** For example if the change + doesn't apply to a supported platform of the library please mention it. + +- **Please run any tests or examples that can exercise your modified code.** We + strive to not break users of the code and running tests/examples helps with this + process. + +Thank you again for contributing! We will try to test and integrate the change +as soon as we can, but be aware we have many GitHub repositories to manage and +can't immediately respond to every request. There is no need to bump or check in +on a pull request (it will clutter the discussion of the request). + +Also don't be worried if the request is closed or not integrated--sometimes the +priorities of Adafruit's GitHub code (education, ease of use) might not match the +priorities of the pull request. Don't fret, the open source community thrives on +forks and GitHub makes it easy to keep your changes in a forked repo. + +After reviewing the guidelines above you can delete this text from the pull request. diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml index 6eb64f495..80848a13b 100644 --- a/.github/workflows/githubci.yml +++ b/.github/workflows/githubci.yml @@ -3,9 +3,46 @@ name: Arduino Library CI on: [pull_request, push, repository_dispatch] jobs: + arduino: + strategy: + fail-fast: false + matrix: + arduino-platform: ["uno", "nrf52832", "cpx_ada", "pyportal", "protrinket_3v", "protrinket_5v", "metro_m0", "esp8266", "esp32", "trinket_3v", "trinket_5v", "gemma", "flora", "feather32u4", "feather_m0_express", "gemma_m0", "trinket_m0", "hallowing_m0", "monster_m4sk", "hallowing_m4", "neotrellis_m4", "pybadge", "cpb"] + + runs-on: ubuntu-latest + #needs: pylint + + steps: + - uses: actions/setup-python@v1 + with: + python-version: '3.x' + - uses: actions/checkout@v2 + - uses: actions/checkout@v2 + with: + repository: adafruit/ci-arduino + path: ci + + - name: pre-install + run: bash ci/actions_install.sh + + # manually install some libraries + - name: extra libraries + run: | + git clone --quiet https://github.com/adafruit/Cryptosuite.git /home/runner/Arduino/libraries/Cryptosuite + git clone --quiet https://github.com/adafruit/WiFiNINA.git /home/runner/Arduino/libraries/WiFiNINA + git clone --quiet https://github.com/adafruit/Adafruit_LSM303.git /home/runner/Arduino/libraries/Adafruit_LSM303 + git clone --quiet https://github.com/moderndevice/CapSense.git /home/runner/Arduino/libraries/CapSense + git clone --quiet https://github.com/PaintYourDragon/ffft.git /home/runner/Arduino/libraries/ffft + git clone --quiet https://github.com/adafruit/RadioHead.git /home/runner/Arduino/libraries/RadioHead + git clone --quiet https://github.com/me-no-dev/ESPAsyncTCP /home/runner/Arduino/libraries/ESPAsyncTCP + git clone --quiet https://github.com/adafruit/Talkie /home/runner/Arduino/libraries/Talkie + + - name: test platforms + run: python3 ci/build_platform.py ${{ matrix.arduino-platform }} + pylint: runs-on: ubuntu-latest -# needs: build + needs: arduino steps: - name: Set up Python 3.6 uses: actions/setup-python@v1 @@ -22,27 +59,3 @@ jobs: - name: lint run: ./pylint_check.sh - - arduino: - strategy: - fail-fast: false - matrix: - arduino-platform: ["uno", "cpx_ada", "pyportal"] - - runs-on: ubuntu-latest - - steps: - - uses: actions/setup-python@v1 - with: - python-version: '3.x' - - uses: actions/checkout@v2 - - uses: actions/checkout@v2 - with: - repository: adafruit/ci-arduino - path: ci - - - name: pre-install - run: bash ci/actions_install.sh - - - name: test platforms - run: python3 ci/build_platform.py ${{ matrix.arduino-platform }} diff --git a/3D_Printed_Bionic_Eye/.trinket.test b/3D_Printed_Bionic_Eye/.trinket5v.test.only similarity index 100% rename from 3D_Printed_Bionic_Eye/.trinket.test rename to 3D_Printed_Bionic_Eye/.trinket5v.test.only diff --git a/3D_Printed_Guardian_Sword/.gemma.test b/3D_Printed_Daft_Punk_Helmet/.trinket5v.test.only similarity index 100% rename from 3D_Printed_Guardian_Sword/.gemma.test rename to 3D_Printed_Daft_Punk_Helmet/.trinket5v.test.only diff --git a/3D_Printed_Guardian_Sword/.trinket.test b/3D_Printed_Guardian_Sword/.gemma.test.only similarity index 100% rename from 3D_Printed_Guardian_Sword/.trinket.test rename to 3D_Printed_Guardian_Sword/.gemma.test.only diff --git a/3D_Printed_LED-Animation_BMO/.gemma.test b/3D_Printed_Guardian_Sword/.trinket5v.test.only similarity index 100% rename from 3D_Printed_LED-Animation_BMO/.gemma.test rename to 3D_Printed_Guardian_Sword/.trinket5v.test.only diff --git a/3D_Printed_LED-Animation_BMO/.trinket.test b/3D_Printed_LED-Animation_BMO/.gemma.test.only similarity index 100% rename from 3D_Printed_LED-Animation_BMO/.trinket.test rename to 3D_Printed_LED-Animation_BMO/.gemma.test.only diff --git a/3D_Printed_LED_Fire_Horns/.gemma.test b/3D_Printed_LED-Animation_BMO/.trinket5v.test.only similarity index 100% rename from 3D_Printed_LED_Fire_Horns/.gemma.test rename to 3D_Printed_LED-Animation_BMO/.trinket5v.test.only diff --git a/3D_Printed_LED_Fire_Horns/.trinket.test b/3D_Printed_LED_Fire_Horns/.gemma.test.only similarity index 100% rename from 3D_Printed_LED_Fire_Horns/.trinket.test rename to 3D_Printed_LED_Fire_Horns/.gemma.test.only diff --git a/3D_Printed_LED_Microphone_Flag/.uno.test b/3D_Printed_LED_Fire_Horns/.trinket5v.test.only similarity index 100% rename from 3D_Printed_LED_Microphone_Flag/.uno.test rename to 3D_Printed_LED_Fire_Horns/.trinket5v.test.only diff --git a/3D_Printed_NeoPixel_Gas_Mask/.gemma.test b/3D_Printed_LED_Microphone_Flag/.gemma.test.only similarity index 100% rename from 3D_Printed_NeoPixel_Gas_Mask/.gemma.test rename to 3D_Printed_LED_Microphone_Flag/.gemma.test.only diff --git a/3D_Printed_NeoPixel_Ring_Hair_Dress/.gemma.test b/3D_Printed_LED_Microphone_Flag/.gemma_m0.test.only similarity index 100% rename from 3D_Printed_NeoPixel_Ring_Hair_Dress/.gemma.test rename to 3D_Printed_LED_Microphone_Flag/.gemma_m0.test.only diff --git a/3D_Printed_Unicorn_Horn/.gemma.test b/3D_Printed_NeoPixel_Gas_Mask/.gemma.test.only similarity index 100% rename from 3D_Printed_Unicorn_Horn/.gemma.test rename to 3D_Printed_NeoPixel_Gas_Mask/.gemma.test.only diff --git a/Adafruit_LED_Sequins/.gemma.test b/3D_Printed_NeoPixel_Ring_Hair_Dress/.gemma.test.only similarity index 100% rename from Adafruit_LED_Sequins/.gemma.test rename to 3D_Printed_NeoPixel_Ring_Hair_Dress/.gemma.test.only diff --git a/Adafruit_TPL5111_Breakout/tpl5111demo/.esp8266.test b/3D_Printed_Unicorn_Horn/.gemma.test.only similarity index 100% rename from Adafruit_TPL5111_Breakout/tpl5111demo/.esp8266.test rename to 3D_Printed_Unicorn_Horn/.gemma.test.only diff --git a/Adafruit_UDA1334A/SineTone/.zero.test b/AM_Radio_Morse/.gemma_m0.test.only similarity index 100% rename from Adafruit_UDA1334A/SineTone/.zero.test rename to AM_Radio_Morse/.gemma_m0.test.only diff --git a/AdaVoice/.uno.test b/AdaVoice/adavoice/.uno.test.only similarity index 100% rename from AdaVoice/.uno.test rename to AdaVoice/adavoice/.uno.test.only diff --git a/Adafruit_DS2413/.uno.test b/AdaVoice/adavoice_face/.uno.test.only similarity index 100% rename from Adafruit_DS2413/.uno.test rename to AdaVoice/adavoice_face/.uno.test.only diff --git a/Adafruit_IoT_Camera_EyeFi/.uno.test b/AdaVoice/dalek/.uno.test.only similarity index 100% rename from Adafruit_IoT_Camera_EyeFi/.uno.test rename to AdaVoice/dalek/.uno.test.only diff --git a/Animated_NeoPixel_Glow_Fur_Scarf/.gemma.test b/Ada_BLE_RC/.feather32u4.test.only similarity index 100% rename from Animated_NeoPixel_Glow_Fur_Scarf/.gemma.test rename to Ada_BLE_RC/.feather32u4.test.only diff --git a/Buzzing_Mindfulness_Bracelet/.gemma.test b/Ada_remoteFXTrigger_NeoTrellis_FastLED_RX/.feather_m0_express.test.only similarity index 100% rename from Buzzing_Mindfulness_Bracelet/.gemma.test rename to Ada_remoteFXTrigger_NeoTrellis_FastLED_RX/.feather_m0_express.test.only diff --git a/Chirping_Plush_Owl_Toy/.gemma.test b/Ada_remoteFXTrigger_NeoTrellis_FastLED_TX/.feather_m0_express.test.only similarity index 100% rename from Chirping_Plush_Owl_Toy/.gemma.test rename to Ada_remoteFXTrigger_NeoTrellis_FastLED_TX/.feather_m0_express.test.only diff --git a/Neotrellis_M4_Live_Launcher/.trellis_m4.test b/Adafruit_AD8495_Guide/.uno.test.only similarity index 100% rename from Neotrellis_M4_Live_Launcher/.trellis_m4.test rename to Adafruit_AD8495_Guide/.uno.test.only diff --git a/Adafruit_MTK3329_GPS/.uno.test b/Adafruit_DS2413/DS2413/.uno.test.only similarity index 100% rename from Adafruit_MTK3329_GPS/.uno.test rename to Adafruit_DS2413/DS2413/.uno.test.only diff --git a/Stream_Deck_Message_Panel/MessagePanel/.m4wifi.test b/Adafruit_ESP32_Arduino_Demos/ESP32_FirmwareUpdater/.pyportal.test.only similarity index 100% rename from Stream_Deck_Message_Panel/MessagePanel/.m4wifi.test rename to Adafruit_ESP32_Arduino_Demos/ESP32_FirmwareUpdater/.pyportal.test.only diff --git a/Adafruit_ESP32_Arduino_Demos/ESP32_FirmwareUpdater/ESP32BootROM.cpp b/Adafruit_ESP32_Arduino_Demos/ESP32_FirmwareUpdater/ESP32BootROM.cpp new file mode 100644 index 000000000..bf5ccaa04 --- /dev/null +++ b/Adafruit_ESP32_Arduino_Demos/ESP32_FirmwareUpdater/ESP32BootROM.cpp @@ -0,0 +1,295 @@ +/* + ESP32BootROM - part of the Firmware Updater for the + Arduino MKR WiFi 1010, Arduino MKR Vidor 4000, and Arduino UNO WiFi Rev.2. + + Copyright (c) 2018 Arduino SA. All rights reserved. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +#include "ESP32BootROM.h" + +//#define DEBUG 1 + +ESP32BootROMClass::ESP32BootROMClass(HardwareSerial& serial, int gpio0Pin, int resetnPin) : + _serial(&serial), + _gpio0Pin(gpio0Pin), + _resetnPin(resetnPin) +{ + +} + +int ESP32BootROMClass::begin(unsigned long baudrate) +{ + _serial->begin(115200); + + pinMode(_gpio0Pin, OUTPUT); + pinMode(_resetnPin, OUTPUT); + + digitalWrite(_gpio0Pin, LOW); + + digitalWrite(_resetnPin, LOW); + delay(10); + digitalWrite(_resetnPin, HIGH); + delay(100); + + int synced = 0; + + for (int retries = 0; !synced && (retries < 5); retries++) { + synced = sync(); + } + + if (!synced) { + return 0; + } + +#if defined(ARDUINO_SAMD_MKRVIDOR4000) || defined(ARDUINO_AVR_UNO_WIFI_REV2) + (void)baudrate; +#else + if (baudrate != 115200) { + if (!changeBaudrate(baudrate)) { + return 0; + } + + delay(100); + + _serial->end(); + _serial->begin(baudrate); + } +#endif + + if (!spiAttach()) { + return 0; + } + + return 1; +} + +void ESP32BootROMClass::end() { + _serial->end(); +} + +int ESP32BootROMClass::sync() +{ + const uint8_t data[] = { + 0x07, 0x07, 0x12, 0x20, + 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55 + }; + + command(0x08, data, sizeof(data)); + + int results[8]; + + for (int i = 0; i < 8; i++) { + results[i] = response(0x08, 100); + } + + return (results[0] == 0); +} + +int ESP32BootROMClass::changeBaudrate(unsigned long baudrate) +{ + const uint32_t data[2] = { + baudrate, + 0 + }; + + command(0x0f, data, sizeof(data)); + + return (response(0x0f, 3000) == 0); +} + +int ESP32BootROMClass::spiAttach() +{ + const uint8_t data[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + }; + + command(0x0d, data, sizeof(data)); + + return (response(0x0d, 3000) == 0); +} + +int ESP32BootROMClass::beginFlash(uint32_t offset, uint32_t size, uint32_t chunkSize) { + const uint32_t data[4] = { + size, + size / chunkSize, + chunkSize, + offset + }; + + command(0x02, data, sizeof(data)); + + _flashSequenceNumber = 0; + _chunkSize = chunkSize; + + return (response(0x02, 120000) == 0); +} + +int ESP32BootROMClass::dataFlash(const void* data, uint32_t length) +{ + uint32_t cmdData[4 + (_chunkSize / 4)]; + + cmdData[0] = length; + cmdData[1] = _flashSequenceNumber++; + cmdData[2] = 0; + cmdData[3] = 0; + + memcpy(&cmdData[4], data, length); + + if (length < _chunkSize) { + memset(&cmdData[4 + (length / 4)], 0xff, _chunkSize - length); + } + + command(0x03, cmdData, sizeof(cmdData)); + + return (response(0x03, 3000) == 0); +} + +int ESP32BootROMClass::endFlash(uint32_t reboot) { + const uint32_t data[1] = { + reboot + }; + + command(0x04, data, sizeof(data)); + + return (response(0x04, 3000) == 0); +} + +int ESP32BootROMClass::md5Flash(uint32_t offset, uint32_t size, uint8_t* result) +{ + const uint32_t data[4] = { + offset, + size, + 0, + 0 + }; + + command(0x13, data, sizeof(data)); + + uint8_t asciiResult[32]; + + if (response(0x13, 3000, asciiResult) != 0) { + return 0; + } + + char temp[3] = { 0, 0, 0 }; + + for (int i = 0; i < 16; i++) { + temp[0] = asciiResult[i * 2]; + temp[1] = asciiResult[i * 2 + 1]; + + result[i] = strtoul(temp, NULL, 16); + } + + return 1; +} + +void ESP32BootROMClass::command(int opcode, const void* data, uint16_t length) +{ + uint32_t checksum = 0; + + if (opcode == 0x03) { + checksum = 0xef; // seed + + for (uint16_t i = 16; i < length; i++) { + checksum ^= ((const uint8_t*)data)[i]; + } + } + + _serial->write(0xc0); + _serial->write((uint8_t)0x00); // direction + _serial->write(opcode); + _serial->write((uint8_t*)&length, sizeof(length)); + writeEscapedBytes((uint8_t*)&checksum, sizeof(checksum)); + writeEscapedBytes((uint8_t*)data, length); + _serial->write(0xc0); +#ifdef ARDUINO_SAMD_MKRVIDOR4000 + // _serial->flush(); // doesn't work! +#else + _serial->flush(); +#endif +} + +int ESP32BootROMClass::response(int opcode, unsigned long timeout, void* body) +{ + uint8_t data[10 + 256]; + uint16_t index = 0; + + uint8_t responseLength = 4; + + for (unsigned long start = millis(); (index < (uint16_t)(10 + responseLength)) && (millis() - start) < timeout;) { + if (_serial->available()) { + data[index] = _serial->read(); + + if (index == 3) { + responseLength = data[index]; + } + + index++; + } + } + +#ifdef DEBUG + if (index) { + for (int i = 0; i < index; i++) { + byte b = data[i]; + + if (b < 0x10) { + Serial.print('0'); + } + + Serial.print(b, HEX); + Serial.print(' '); + } + Serial.println(); + } +#endif + + if (index != (uint16_t)(10 + responseLength)) { + return -1; + } + + if (data[0] != 0xc0 || data[1] != 0x01 || data[2] != opcode || data[responseLength + 5] != 0x00 || data[responseLength + 6] != 0x00 || data[responseLength + 9] != 0xc0) { + return -1; + } + + if (body) { + memcpy(body, &data[9], responseLength - 4); + } + + return data[responseLength + 5]; +} + +void ESP32BootROMClass::writeEscapedBytes(const uint8_t* data, uint16_t length) +{ + uint16_t written = 0; + + while (written < length) { + uint8_t b = data[written++]; + + if (b == 0xdb) { + _serial->write(0xdb); + _serial->write(0xdd); + } else if (b == 0xc0) { + _serial->write(0xdb); + _serial->write(0xdc); + } else { + _serial->write(b); + } + } +} + +ESP32BootROMClass ESP32BootROM(SerialNina, NINA_GPIO0, NINA_RESETN); diff --git a/Adafruit_ESP32_Arduino_Demos/ESP32_FirmwareUpdater/ESP32BootROM.h b/Adafruit_ESP32_Arduino_Demos/ESP32_FirmwareUpdater/ESP32BootROM.h new file mode 100644 index 000000000..578b4ec06 --- /dev/null +++ b/Adafruit_ESP32_Arduino_Demos/ESP32_FirmwareUpdater/ESP32BootROM.h @@ -0,0 +1,56 @@ +/* + ESP32BootROM - part of the Firmware Updater for the + Arduino MKR WiFi 1010, Arduino MKR Vidor 4000, and Arduino UNO WiFi Rev.2. + + Copyright (c) 2018 Arduino SA. All rights reserved. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +#include + +class ESP32BootROMClass { + public: + ESP32BootROMClass(HardwareSerial& hwSerial, int gpio0Pin, int resetnPin); + + int begin(unsigned long baudrate); + void end(); + + int beginFlash(uint32_t offset, uint32_t size, uint32_t chunkSize); + int dataFlash(const void* data, uint32_t length); + int endFlash(uint32_t reboot); + + int md5Flash(uint32_t offset, uint32_t size, uint8_t* result); + + private: + int sync(); + int changeBaudrate(unsigned long baudrate); + int spiAttach(); + + void command(int opcode, const void* data, uint16_t length); + int response(int opcode, unsigned long timeout, void* body = NULL); + + void writeEscapedBytes(const uint8_t* data, uint16_t length); + + private: + HardwareSerial* _serial; + int _gpio0Pin; + int _resetnPin; + + uint32_t _flashSequenceNumber; + uint32_t _chunkSize; +}; + +extern ESP32BootROMClass ESP32BootROM; diff --git a/Adafruit_ESP32_Arduino_Demos/ESP32_FirmwareUpdater/ESP32_FirmwareUpdater.ino b/Adafruit_ESP32_Arduino_Demos/ESP32_FirmwareUpdater/ESP32_FirmwareUpdater.ino new file mode 100644 index 000000000..1e788ecf5 --- /dev/null +++ b/Adafruit_ESP32_Arduino_Demos/ESP32_FirmwareUpdater/ESP32_FirmwareUpdater.ino @@ -0,0 +1,101 @@ +/* + FirmwareUpdater - Firmware Updater for the + Arduino MKR WiFi 1010, Arduino MKR Vidor 4000, and Arduino UNO WiFi Rev.2. + + Copyright (c) 2018 Arduino SA. All rights reserved. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +#include "ESP32BootROM.h" +#include + +static const int MAX_PAYLOAD_SIZE = 1024; +uint32_t firmsize; +static uint8_t payload[MAX_PAYLOAD_SIZE]; + +#define SD_CS 32 +File myFile; + +void setup() { + Serial.begin(115200); + while (!Serial); + delay(100); + + if (!SD.begin(SD_CS)) { + Serial.println("Card init. failed!"); + while (1); + } else { + Serial.println("SD OK!"); + } + + + myFile = SD.open("/NINAW102.bin", FILE_READ); + if (!myFile) { + Serial.println("Failed to open firmware file"); + while (1); + } + firmsize = myFile.size(); + Serial.print(firmsize); Serial.println(" bytes"); + +} + +void loop() { + while (!ESP32BootROM.begin(921600)) { + Serial.println("Unable to communicate with ESP32 boot ROM!"); + delay(100); + return; + } + Serial.println("Ready!"); + + uint32_t timestamp = millis(); + + while (!ESP32BootROM.beginFlash(0, firmsize, MAX_PAYLOAD_SIZE)) { + Serial.println("Failed to erase flash"); + delay(100); + return; + } + Serial.println("Erase OK"); + + for (uint32_t i=0; i + +bool isBigEndian() { + uint32_t test = 0x11223344; + uint8_t *pTest = reinterpret_cast(&test); + return pTest[0] == 0x11; +} + +uint32_t fromNetwork32(uint32_t from) { + static const bool be = isBigEndian(); + if (be) { + return from; + } else { + uint8_t *pFrom = reinterpret_cast(&from); + uint32_t to; + to = pFrom[0]; to <<= 8; + to |= pFrom[1]; to <<= 8; + to |= pFrom[2]; to <<= 8; + to |= pFrom[3]; + return to; + } +} + +uint16_t fromNetwork16(uint16_t from) { + static bool be = isBigEndian(); + if (be) { + return from; + } else { + uint8_t *pFrom = reinterpret_cast(&from); + uint16_t to; + to = pFrom[0]; to <<= 8; + to |= pFrom[1]; + return to; + } +} + +uint32_t toNetwork32(uint32_t to) { + return fromNetwork32(to); +} + +uint16_t toNetwork16(uint16_t to) { + return fromNetwork16(to); +} diff --git a/Adafruit_ESP32_Arduino_Demos/SerialESPPassthrough/.pyportal.test.only b/Adafruit_ESP32_Arduino_Demos/SerialESPPassthrough/.pyportal.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Adafruit_ESP32_Arduino_Demos/SerialESPPassthrough/SerialESPPassthrough.ino b/Adafruit_ESP32_Arduino_Demos/SerialESPPassthrough/SerialESPPassthrough.ino index b06fedb46..e317bed3b 100644 --- a/Adafruit_ESP32_Arduino_Demos/SerialESPPassthrough/SerialESPPassthrough.ino +++ b/Adafruit_ESP32_Arduino_Demos/SerialESPPassthrough/SerialESPPassthrough.ino @@ -71,6 +71,8 @@ unsigned long baud = 115200; #define ESP32_RESETN 5 // Reset pin #define ESP32_GPIO0 -1 // Not connected #define NEOPIXEL_PIN 8 +#elif defined(ADAFRUIT_PYPORTAL) + #define NEOPIXEL_PIN 2 #endif Adafruit_NeoPixel pixel = Adafruit_NeoPixel(1, NEOPIXEL_PIN, NEO_GRB + NEO_KHZ800); @@ -110,4 +112,4 @@ void loop() { pixel.setPixelColor(0, 0, 0, 10); pixel.show(); Serial.write(SerialESP32.read()); } -} \ No newline at end of file +} diff --git a/Adafruit_ESP32_Arduino_Demos/streaming_mp3_player/.pyportal.test.only b/Adafruit_ESP32_Arduino_Demos/streaming_mp3_player/.pyportal.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Adafruit_ESP32_Arduino_Demos/streaming_nativemp3_player/.pyportal.test.only b/Adafruit_ESP32_Arduino_Demos/streaming_nativemp3_player/.pyportal.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Adafruit_ESP32_Arduino_Demos/streaming_podcast_player/.pyportal.test.only b/Adafruit_ESP32_Arduino_Demos/streaming_podcast_player/.pyportal.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Adafruit_ESP32_Arduino_Demos/streaming_podcast_player/arduino_secrets.h b/Adafruit_ESP32_Arduino_Demos/streaming_podcast_player/arduino_secrets.h new file mode 100644 index 000000000..09cee67b3 --- /dev/null +++ b/Adafruit_ESP32_Arduino_Demos/streaming_podcast_player/arduino_secrets.h @@ -0,0 +1,2 @@ +#define SECRET_SSID "ssid" +#define SECRET_PASS "password" diff --git a/Adafruit_ESP32_Arduino_Demos/streaming_podcast_player/streaming_podcast_player.ino b/Adafruit_ESP32_Arduino_Demos/streaming_podcast_player/streaming_podcast_player.ino new file mode 100644 index 000000000..8c1b97414 --- /dev/null +++ b/Adafruit_ESP32_Arduino_Demos/streaming_podcast_player/streaming_podcast_player.ino @@ -0,0 +1,284 @@ +// Stream MP3s over WiFi on Metro M4 Express and play via music maker shield + +//#define DEBUG_OUTPUT + +#include +#include +#include // From Agileware +#include "Adafruit_MP3.h" +#include "arduino_secrets.h" + +///////please enter your sensitive data in the Secret tab/arduino_secrets.h +char ssid[] = SECRET_SSID; // your network SSID (name) +char pass[] = SECRET_PASS; // your network password (use for WPA, or use as key for WEP) + +// Use ~64Kbps streams if possible, 128kb+ is too much data ;) + +// CircuitPython weekly +//const char *xmlfeed = "http://adafruit-podcasts.s3.amazonaws.com/circuitpython_weekly_meeting/audio-podcast.xml"; +const char *xmlfeed = "http://www.2600.com/oth.xml"; // yay they have a 16 kbps + +// Too high bitrate! +//const char *xmlfeed = "http://feeds.soundcloud.com/users/soundcloud:users:93913472/sounds.rss"; +//const char *xmlfeed = "https://theamphour.com/feed/"; + +/************* WiFi over ESP32 client for MP3 datastream */ +WiFiClient http_client; // Use WiFiClient class to create HTTP/TCP connection +WiFiSSLClient https_client; // Use WiFiClient class to create HTTP/TCP connection +char *stream_host, *stream_path; +int stream_port = 80; + +/************* Native MP3 decoding supported on M4 chips */ +Adafruit_MP3 player; // The MP3 player +#define BUFFER_SIZE 8000 // we need a lot of buffer to keep from underruns! but not too big? +CircularBuffer buffer; +bool paused = true; +float gain = 1; + +void setup() { + Serial.begin(115200); + while (!Serial); + delay(100); + Serial.println("\nAdafruit Native MP3 Podcast Radio"); + + /************************* INITIALIZE WIFI */ + Serial.print("Connecting to SSID "); Serial.println(ssid); + WiFi.begin(ssid, pass); + + while (WiFi.status() != WL_CONNECTED) { + delay(500); + Serial.print("."); + } + Serial.print("WiFi connected. "); + Serial.print("My IP address: "); Serial.println(WiFi.localIP()); + + + char *mp3_stream, *pubdate; + getLatestMP3(xmlfeed, &mp3_stream, &pubdate); + Serial.println(mp3_stream); + Serial.println(pubdate); + + splitURL(mp3_stream, &stream_host, &stream_port, &stream_path); + if (stream_port == 443) { + Serial.println("We don't support SSL MP3 playback, defaulting back to port 80"); + stream_port = 80; + } + player.begin(); + + //do this when there are samples ready + player.setSampleReadyCallback(writeDacs); + + //do this when more data is required + player.setBufferCallback(getMoreData); + + analogWrite(A0, 2048); + player.play(); + player.pause(); + + + connectStream(); +} + +bool getLatestMP3(String xmlfeed, char **mp3_url, char **date_str) { + char *xml_host, *xml_path; + int xml_port = 80; + + bool found_mp3=false, found_date=false; + + splitURL(xmlfeed, &xml_host, &xml_port, &xml_path); + + Serial.print("XML Server: "); Serial.println(xml_host); + Serial.print("XML Port #"); Serial.println(xml_port); + Serial.print("XML Path: "); Serial.println(xml_path); + + WiFiClient *xml_client; + if (xml_port == 443) { + xml_client = &https_client; + } else { + xml_client = &http_client; + } + + if (!xml_client->connect(xml_host, xml_port)) { + Serial.println("Connection failed"); + return false; + } + + // We now create a URI for the request + Serial.print("Requesting XML URL: "); Serial.println(xml_path); + + // This will send the request to the server + xml_client->print(String("GET ") + xml_path + " HTTP/1.1\r\n" + + "Host: " + xml_host + "\r\n" + + "Connection: close\r\n\r\n"); + + while (xml_client->connected()) { + if (!xml_client->available()) { continue; } + char c = xml_client->read(); + Serial.print(c); + if (c == '<') { + String tag = xml_client->readStringUntil('>'); + Serial.print(tag); + + if (!found_mp3 && (tag.indexOf("enclosure") != -1)) { // get first enclosure + int i = tag.indexOf("url=\""); + if (i == -1) continue; + tag = tag.substring(i+5); + int end = tag.indexOf("\""); + if (end == -1) continue; + tag = tag.substring(0, end); + *mp3_url = (char *)malloc(tag.length()+1); + tag.toCharArray(*mp3_url, tag.length()+1); + // Serial.print("****"); Serial.println(*mp3_url); + found_mp3 = true; + } + + if (!found_date && (tag.indexOf("pubDate") != -1)) { // get first pubdate + String date = xml_client->readStringUntil('<'); + *date_str = (char *)malloc(date.length()+1); + date.toCharArray(*date_str, date.length()+1); + // Serial.print("****"); Serial.println(*date_str); + found_date = true; + } + } + if (found_date && found_mp3) { + break; + } + } + xml_client->stop(); + return (found_date && found_mp3); +} + +void connectStream(void) { + http_client.stop(); + /************************* INITIALIZE STREAM */ + Serial.print("Stream Server: "); Serial.println(stream_host); + Serial.print("Stream Port #"); Serial.println(stream_port); + Serial.print("Stream Path: "); Serial.println(stream_path); + + if (!http_client.connect(stream_host, stream_port)) { + Serial.println("Connection failed"); + while (1); + } + + // We now create a URI for the request + Serial.print("Requesting URL: "); Serial.println(stream_path); + + // This will send the request to the server + http_client.print(String("GET ") + stream_path + " HTTP/1.1\r\n" + + "Host: " + stream_host + "\r\n" + + "Connection: close\r\n\r\n"); +} + + +void loop() { + if (!http_client.connected()) { + connectStream(); + } +#ifdef DEBUG_OUTPUT + Serial.print("Client Avail: "); Serial.print(http_client.available()); + Serial.print("\tBuffer Avail: "); Serial.println(buffer.available()); +#endif + int ret = player.tick(); + + if (ret != 0) { // some error, best to pause & rebuffer + Serial.print("MP3 error: "); Serial.println(ret); + player.pause(); paused = true; + } + if ( paused && (buffer.size() > 6000)) { // buffered, restart! + player.resume(); paused = false; + } + + // Prioritize reading data from the ESP32 into the buffer (it sometimes stalls) + if (http_client.available() && buffer.available()) { + + uint8_t minibuff[BUFFER_SIZE]; + + int bytesread = http_client.read(minibuff, buffer.available()); +#ifdef DEBUG_OUTPUT + Serial.print("Client read: "); Serial.print(bytesread); +#endif + + noInterrupts(); + for (int i=0; i -SoftSerial mySerial(2, 3); +#include +SoftwareSerial mySerial(2, 3); // Connect the GPS Power pin to 3.3V // Connect the GPS Ground pin to ground diff --git a/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Accelerometer_Simpletest/.esp32.test.only b/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Accelerometer_Simpletest/.esp32.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Accelerometer_Simpletest/.esp8266.test.only b/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Accelerometer_Simpletest/.esp8266.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Accelerometer_Simpletest/.feather32u4.test.only b/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Accelerometer_Simpletest/.feather32u4.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Accelerometer_Simpletest/.feather_m0_express.test.only b/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Accelerometer_Simpletest/.feather_m0_express.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Accelerometer_Simpletest/.nrf52840.test.only b/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Accelerometer_Simpletest/.nrf52840.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Accelerometer_Simpletest.ino b/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Accelerometer_Simpletest/Prop_Maker_Accelerometer_Simpletest.ino similarity index 100% rename from Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Accelerometer_Simpletest.ino rename to Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Accelerometer_Simpletest/Prop_Maker_Accelerometer_Simpletest.ino diff --git a/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_LED_Simpletest/.esp32.test.only b/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_LED_Simpletest/.esp32.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_LED_Simpletest/.esp8266.test.only b/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_LED_Simpletest/.esp8266.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_LED_Simpletest/.feather32u4.test.only b/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_LED_Simpletest/.feather32u4.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_LED_Simpletest/.feather_m0_express.test.only b/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_LED_Simpletest/.feather_m0_express.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_LED_Simpletest/.nrf52840.test.only b/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_LED_Simpletest/.nrf52840.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_LED_Simpletest.ino b/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_LED_Simpletest/Prop_Maker_LED_Simpletest.ino similarity index 100% rename from Adafruit_Prop_Maker_FeatherWing/Prop_Maker_LED_Simpletest.ino rename to Adafruit_Prop_Maker_FeatherWing/Prop_Maker_LED_Simpletest/Prop_Maker_LED_Simpletest.ino diff --git a/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_NeoPixel_Simpletest/.esp32.test.only b/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_NeoPixel_Simpletest/.esp32.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_NeoPixel_Simpletest/.esp8266.test.only b/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_NeoPixel_Simpletest/.esp8266.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_NeoPixel_Simpletest/.feather32u4.test.only b/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_NeoPixel_Simpletest/.feather32u4.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_NeoPixel_Simpletest/.feather_m0_express.test.only b/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_NeoPixel_Simpletest/.feather_m0_express.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_NeoPixel_Simpletest/.nrf52840.test.only b/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_NeoPixel_Simpletest/.nrf52840.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_NeoPixel_Simpletest.ino b/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_NeoPixel_Simpletest/Prop_Maker_NeoPixel_Simpletest.ino similarity index 100% rename from Adafruit_Prop_Maker_FeatherWing/Prop_Maker_NeoPixel_Simpletest.ino rename to Adafruit_Prop_Maker_FeatherWing/Prop_Maker_NeoPixel_Simpletest/Prop_Maker_NeoPixel_Simpletest.ino diff --git a/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Switch_Simpletest/.esp32.test.only b/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Switch_Simpletest/.esp32.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Switch_Simpletest/.esp8266.test.only b/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Switch_Simpletest/.esp8266.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Switch_Simpletest/.feather32u4.test.only b/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Switch_Simpletest/.feather32u4.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Switch_Simpletest/.feather_m0_express.test.only b/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Switch_Simpletest/.feather_m0_express.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Switch_Simpletest/.nrf52840.test.only b/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Switch_Simpletest/.nrf52840.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Switch_Simpletest.ino b/Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Switch_Simpletest/Prop_Maker_Switch_Simpletest.ino similarity index 100% rename from Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Switch_Simpletest.ino rename to Adafruit_Prop_Maker_FeatherWing/Prop_Maker_Switch_Simpletest/Prop_Maker_Switch_Simpletest.ino diff --git a/Adafruit_TPL5111_Breakout/tpl5111demo/.esp8266.test.only b/Adafruit_TPL5111_Breakout/tpl5111demo/.esp8266.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Adafruit_TPL5111_Breakout/tpl5111demo/.uno.test.only b/Adafruit_TPL5111_Breakout/tpl5111demo/.uno.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Airlift_ePaper_Calendar/.uno.test b/Adafruit_Tweet_Receipt/Gutenbird/.uno.test.only similarity index 100% rename from Airlift_ePaper_Calendar/.uno.test rename to Adafruit_Tweet_Receipt/Gutenbird/.uno.test.only diff --git a/Adafruit_Tweet_Receipt/Gutenbird/Gutenbird.ino b/Adafruit_Tweet_Receipt/Gutenbird/Gutenbird.ino index e3b8fcad2..9048bde55 100644 --- a/Adafruit_Tweet_Receipt/Gutenbird/Gutenbird.ino +++ b/Adafruit_Tweet_Receipt/Gutenbird/Gutenbird.ino @@ -131,7 +131,7 @@ unsigned long currentTime = 0L; EthernetClient client; -PROGMEM byte +const PROGMEM byte sleepTab[] = { // "Sleep throb" brightness table (reverse for second half) 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 2, 3, 4, 5, 6, 8, 10, 13, diff --git a/Adafruit_UDA1334A/SineTone/.metro_m0.test.only b/Adafruit_UDA1334A/SineTone/.metro_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/ArduinoISP/.uno.test b/Adafruit_X2_Time_Ball/Arduino/LEDstream/.uno.test.only similarity index 100% rename from ArduinoISP/.uno.test rename to Adafruit_X2_Time_Ball/Arduino/LEDstream/.uno.test.only diff --git a/Arduino_Ethernet_SD_Card/.uno.test b/Adafruit_X2_Time_Ball/Arduino/LEDtest/.uno.test.only similarity index 100% rename from Arduino_Ethernet_SD_Card/.uno.test rename to Adafruit_X2_Time_Ball/Arduino/LEDtest/.uno.test.only diff --git a/Arduino_Phone/.uno.test b/Airlift_ePaper_Calendar/adafruit_airlift_calendar/.metro_m4_airliftlite.test.only similarity index 100% rename from Arduino_Phone/.uno.test rename to Airlift_ePaper_Calendar/adafruit_airlift_calendar/.metro_m4_airliftlite.test.only diff --git a/BLE_Robot_Rover/.uno.test b/All_Seeing_Skull/.teensy3.test.only similarity index 100% rename from BLE_Robot_Rover/.uno.test rename to All_Seeing_Skull/.teensy3.test.only diff --git a/All_Seeing_Skull/All_Seeing_Skull.ino b/All_Seeing_Skull/All_Seeing_Skull.ino index 9d83c76cb..b2d3c0597 100644 --- a/All_Seeing_Skull/All_Seeing_Skull.ino +++ b/All_Seeing_Skull/All_Seeing_Skull.ino @@ -199,10 +199,9 @@ void setup(void) { // from either mirrorOLED[] (first eye) or rotateOLED[] (others). // The OLED library doesn't normally use the remap reg (TFT does). for(e=0; ewriteCommand(SSD1351_CMD_SETREMAP); - eye[e].display->writeData(e ? - rotateOLED[eyeInfo[e].rotation & 3] : - mirrorOLED[eyeInfo[e].rotation & 3]); + uint8_t d = e ? rotateOLED[eyeInfo[e].rotation & 3] : + mirrorOLED[eyeInfo[e].rotation & 3]; + eye[e].display->sendCommand(SSD1351_CMD_SETREMAP, &d, 1); } #endif diff --git a/Animated_NeoPixel_Glow_Fur_Scarf/.gemma.test.only b/Animated_NeoPixel_Glow_Fur_Scarf/.gemma.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/BTTF_Clock/.teensy.test b/ArduinoISP/ArduinoISP/.uno.test.only similarity index 100% rename from BTTF_Clock/.teensy.test rename to ArduinoISP/ArduinoISP/.uno.test.only diff --git a/Bluetooth_NeoMatrix_Snowflake/.uno.test b/Arduino_Ethernet_SD_Card/SDWebBrowse/.uno.test.only similarity index 100% rename from Bluetooth_NeoMatrix_Snowflake/.uno.test rename to Arduino_Ethernet_SD_Card/SDWebBrowse/.uno.test.only diff --git a/Bluetooth_Talking_Dog_Collar/.uno.test b/Arduino_Ethernet_SD_Card/SDcardTest/.uno.test.only similarity index 100% rename from Bluetooth_Talking_Dog_Collar/.uno.test rename to Arduino_Ethernet_SD_Card/SDcardTest/.uno.test.only diff --git a/Custom_Magstripe_Swiper/.uno.test b/Arduino_Ethernet_SD_Card/SDfileList/.uno.test.only similarity index 100% rename from Custom_Magstripe_Swiper/.uno.test rename to Arduino_Ethernet_SD_Card/SDfileList/.uno.test.only diff --git a/EInk_EPaper_Maze/.m4.test b/Arduino_Phone/Arduino_Phone/.uno.test.only similarity index 100% rename from EInk_EPaper_Maze/.m4.test rename to Arduino_Phone/Arduino_Phone/.uno.test.only diff --git a/AtariFruit_Joystick/.nrf52832.test.only b/AtariFruit_Joystick/.nrf52832.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/EInk_Weather_Station/adafruit_epd_weather/.M4.test b/BLE_Robot_Rover/Ada_BLE_RC/.uno.test.only similarity index 100% rename from EInk_Weather_Station/adafruit_epd_weather/.M4.test rename to BLE_Robot_Rover/Ada_BLE_RC/.uno.test.only diff --git a/ESP8266_Weather_Pixels/.esp8266.test b/BTTF_Clock/BTTF/.uno.test.only similarity index 100% rename from ESP8266_Weather_Pixels/.esp8266.test rename to BTTF_Clock/BTTF/.uno.test.only diff --git a/Bluetooth_NeoMatrix_Snowflake/basic/.uno.test.only b/Bluetooth_NeoMatrix_Snowflake/basic/.uno.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Bluetooth_NeoMatrix_Snowflake/basic/basic.ino b/Bluetooth_NeoMatrix_Snowflake/basic/basic.ino index 87e342ced..e49dc8238 100644 --- a/Bluetooth_NeoMatrix_Snowflake/basic/basic.ino +++ b/Bluetooth_NeoMatrix_Snowflake/basic/basic.ino @@ -273,6 +273,7 @@ void SnowFlake12(uint32_t c){ } +/* void showAllSnowflakes(uint32_t c){ SnowFlake1(matrix.Color(red, green, blue)); matrix.show(); // This sends the updated pixel colors to the hardware. @@ -322,3 +323,4 @@ void showAllSnowflakes(uint32_t c){ matrix.show(); // This sends the updated pixel colors to the hardware. delay(500); } +*/ \ No newline at end of file diff --git a/Feather_Holiday_Lights/.uno.test b/Bluetooth_NeoMatrix_Snowflake/feather_neomatrix_bluetooth_snowflake/.feather32u4.test.only similarity index 100% rename from Feather_Holiday_Lights/.uno.test rename to Bluetooth_NeoMatrix_Snowflake/feather_neomatrix_bluetooth_snowflake/.feather32u4.test.only diff --git a/Feather_Power_Gauntlet/.leonardo.test b/Bluetooth_NeoMatrix_Snowflake/flora-neomatrix-bluetooth-snowflake/.flora.test.only similarity index 100% rename from Feather_Power_Gauntlet/.leonardo.test rename to Bluetooth_NeoMatrix_Snowflake/flora-neomatrix-bluetooth-snowflake/.flora.test.only diff --git a/Feather_ePaper_Quotes/.uno.text b/Bluetooth_Talking_Dog_Collar/BLEdogCollar/.feather32u4.test.only similarity index 100% rename from Feather_ePaper_Quotes/.uno.text rename to Bluetooth_Talking_Dog_Collar/BLEdogCollar/.feather32u4.test.only diff --git a/Buzzing_Mindfulness_Bracelet/.gemma.test.only b/Buzzing_Mindfulness_Bracelet/.gemma.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/CPX_Compass/.ada_cpx.test.only b/CPX_Compass/.ada_cpx.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Chirping_Plush_Owl_Toy/.gemma.test.only b/Chirping_Plush_Owl_Toy/.gemma.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Circuit_Playground_Jack_o_Lantern/JackOLantern_CircuitPlayground/.cpx_ada.test.only b/Circuit_Playground_Jack_o_Lantern/JackOLantern_CircuitPlayground/.cpx_ada.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Circuit_Playground_Jack_o_Lantern/JackOLantern_CircuitPlayground.ino b/Circuit_Playground_Jack_o_Lantern/JackOLantern_CircuitPlayground/JackOLantern_CircuitPlayground.ino similarity index 100% rename from Circuit_Playground_Jack_o_Lantern/JackOLantern_CircuitPlayground.ino rename to Circuit_Playground_Jack_o_Lantern/JackOLantern_CircuitPlayground/JackOLantern_CircuitPlayground.ino diff --git a/Circuit_Playground_Jack_o_Lantern/JackOLantern_HalloWing/.cpx_ada.test.only b/Circuit_Playground_Jack_o_Lantern/JackOLantern_HalloWing/.cpx_ada.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Circuit_Playground_Jack_o_Lantern/JackOLantern_HalloWing.ino b/Circuit_Playground_Jack_o_Lantern/JackOLantern_HalloWing/JackOLantern_HalloWing.ino similarity index 100% rename from Circuit_Playground_Jack_o_Lantern/JackOLantern_HalloWing.ino rename to Circuit_Playground_Jack_o_Lantern/JackOLantern_HalloWing/JackOLantern_HalloWing.ino diff --git a/Close_Encounters_Hat/.gemma_m0.test.only b/Close_Encounters_Hat/.gemma_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Crickit_AdafruitIO/crickit_io/.esp8266.test.only b/Crickit_AdafruitIO/crickit_io/.esp8266.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Crickit_AdafruitIO/config.h b/Crickit_AdafruitIO/crickit_io/config.h similarity index 100% rename from Crickit_AdafruitIO/config.h rename to Crickit_AdafruitIO/crickit_io/config.h diff --git a/Crickit_AdafruitIO/dashboard_control/.esp8266.test.only b/Crickit_AdafruitIO/dashboard_control/.esp8266.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Crickit_AdafruitIO/dashboard_control/config.h b/Crickit_AdafruitIO/dashboard_control/config.h new file mode 100644 index 000000000..575618186 --- /dev/null +++ b/Crickit_AdafruitIO/dashboard_control/config.h @@ -0,0 +1,43 @@ +/************************ Adafruit IO Config *******************************/ + +// visit io.adafruit.com if you need to create an account, +// or if you need your Adafruit IO key. +#define IO_USERNAME "your_username" +#define IO_KEY "your_key" + +/******************************* WIFI **************************************/ + +// the AdafruitIO_WiFi client will work with the following boards: +// - HUZZAH ESP8266 Breakout -> https://www.adafruit.com/products/2471 +// - Feather HUZZAH ESP8266 -> https://www.adafruit.com/products/2821 +// - Feather M0 WiFi -> https://www.adafruit.com/products/3010 +// - Feather WICED -> https://www.adafruit.com/products/3056 + +#define WIFI_SSID "your_ssid" +#define WIFI_PASS "your_pass" + +// comment out the following two lines if you are using fona or ethernet +#include "AdafruitIO_WiFi.h" +AdafruitIO_WiFi io(IO_USERNAME, IO_KEY, WIFI_SSID, WIFI_PASS); + + +/******************************* FONA **************************************/ + +// the AdafruitIO_FONA client will work with the following boards: +// - Feather 32u4 FONA -> https://www.adafruit.com/product/3027 + +// uncomment the following two lines for 32u4 FONA, +// and comment out the AdafruitIO_WiFi client in the WIFI section +// #include "AdafruitIO_FONA.h" +// AdafruitIO_FONA io(IO_USERNAME, IO_KEY); + + +/**************************** ETHERNET ************************************/ + +// the AdafruitIO_Ethernet client will work with the following boards: +// - Ethernet FeatherWing -> https://www.adafruit.com/products/3201 + +// uncomment the following two lines for ethernet, +// and comment out the AdafruitIO_WiFi client in the WIFI section +// #include "AdafruitIO_Ethernet.h" +// AdafruitIO_Ethernet io(IO_USERNAME, IO_KEY); diff --git a/Crickit_AdafruitIO/remote_monitor/.esp8266.test.only b/Crickit_AdafruitIO/remote_monitor/.esp8266.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Crickit_AdafruitIO/remote_monitor/config.h b/Crickit_AdafruitIO/remote_monitor/config.h new file mode 100644 index 000000000..575618186 --- /dev/null +++ b/Crickit_AdafruitIO/remote_monitor/config.h @@ -0,0 +1,43 @@ +/************************ Adafruit IO Config *******************************/ + +// visit io.adafruit.com if you need to create an account, +// or if you need your Adafruit IO key. +#define IO_USERNAME "your_username" +#define IO_KEY "your_key" + +/******************************* WIFI **************************************/ + +// the AdafruitIO_WiFi client will work with the following boards: +// - HUZZAH ESP8266 Breakout -> https://www.adafruit.com/products/2471 +// - Feather HUZZAH ESP8266 -> https://www.adafruit.com/products/2821 +// - Feather M0 WiFi -> https://www.adafruit.com/products/3010 +// - Feather WICED -> https://www.adafruit.com/products/3056 + +#define WIFI_SSID "your_ssid" +#define WIFI_PASS "your_pass" + +// comment out the following two lines if you are using fona or ethernet +#include "AdafruitIO_WiFi.h" +AdafruitIO_WiFi io(IO_USERNAME, IO_KEY, WIFI_SSID, WIFI_PASS); + + +/******************************* FONA **************************************/ + +// the AdafruitIO_FONA client will work with the following boards: +// - Feather 32u4 FONA -> https://www.adafruit.com/product/3027 + +// uncomment the following two lines for 32u4 FONA, +// and comment out the AdafruitIO_WiFi client in the WIFI section +// #include "AdafruitIO_FONA.h" +// AdafruitIO_FONA io(IO_USERNAME, IO_KEY); + + +/**************************** ETHERNET ************************************/ + +// the AdafruitIO_Ethernet client will work with the following boards: +// - Ethernet FeatherWing -> https://www.adafruit.com/products/3201 + +// uncomment the following two lines for ethernet, +// and comment out the AdafruitIO_WiFi client in the WIFI section +// #include "AdafruitIO_Ethernet.h" +// AdafruitIO_Ethernet io(IO_USERNAME, IO_KEY); diff --git a/Crickit_FlippyBot/.feather_m0_express.test.only b/Crickit_FlippyBot/.feather_m0_express.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Crickit_WobblyBot/WobblyBot/.feather_m0_express.test.only b/Crickit_WobblyBot/WobblyBot/.feather_m0_express.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Flora_Brakelight_Backpack/.flora.test b/Custom_Magstripe_Swiper/code/.teensy2.test.only similarity index 100% rename from Flora_Brakelight_Backpack/.flora.test rename to Custom_Magstripe_Swiper/code/.teensy2.test.only diff --git a/Custom_Magstripe_Swiper/code/code.ino b/Custom_Magstripe_Swiper/code/code.ino index bfbab0d50..89cc6e2bd 100644 --- a/Custom_Magstripe_Swiper/code/code.ino +++ b/Custom_Magstripe_Swiper/code/code.ino @@ -16,6 +16,9 @@ uint8_t scratch[TRACK1_LEN+BUFF]; //#define _SERIAL 1 #define _KEYBOARD 1 +void shifttrack(byte track[], byte shiftbuffer[], uint8_t dir); +uint8_t verifycard(byte track[]); + void beep(uint8_t pin, long freq, long dur) { long d = 500000/ freq; diff --git a/Cyberpunk_Spikes/.gemma.test.only b/Cyberpunk_Spikes/.gemma.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/DIY_Thermal_Light_Painting/.trinket_5v.test.only b/DIY_Thermal_Light_Painting/.trinket_5v.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/DIY_Thermal_Light_Painting/DIY_Thermal_Light_Painting.ino b/DIY_Thermal_Light_Painting/DIY_Thermal_Light_Painting.ino index 1a19f4168..c071a0adb 100644 --- a/DIY_Thermal_Light_Painting/DIY_Thermal_Light_Painting.ino +++ b/DIY_Thermal_Light_Painting/DIY_Thermal_Light_Painting.ino @@ -21,8 +21,7 @@ NOT FOR REGULAR ARDUINOS! Use the regular Adafruit_MLX90614 for that Written by Limor Fried/Ladyada for Adafruit in any redistribution ****************************************************/ -#include -#include +#include #include // change these to adjust the range of temperatures you want to measure @@ -34,7 +33,7 @@ NOT FOR REGULAR ARDUINOS! Use the regular Adafruit_MLX90614 for that #define PIN 1 Adafruit_NeoPixel strip = Adafruit_NeoPixel(24, PIN, NEO_GRB + NEO_KHZ800); -Adafruit_MiniMLX90614 mlx = Adafruit_MiniMLX90614(); +Adafruit_MLX90614 mlx = Adafruit_MLX90614(); void setup() { mlx.begin(); diff --git a/DSP-G1_Synth_Parameters_Demo/.feather_m0_express.test.only b/DSP-G1_Synth_Parameters_Demo/.feather_m0_express.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/DSP-G1_Trellis_Synth/.feather_m0_express.test.only b/DSP-G1_Trellis_Synth/.feather_m0_express.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Flora_Citi_Bike_Helmet/.flora.test b/EInk_EPaper_Maze/airlift_epaper_maze/.metro_m4_airliftlite.test.only similarity index 100% rename from Flora_Citi_Bike_Helmet/.flora.test rename to EInk_EPaper_Maze/airlift_epaper_maze/.metro_m4_airliftlite.test.only diff --git a/Flora_Demos/.flora.test b/EInk_Weather_Station/adafruit_epd_weather/.metro_m4_airliftlite.test.only similarity index 100% rename from Flora_Demos/.flora.test rename to EInk_Weather_Station/adafruit_epd_weather/.metro_m4_airliftlite.test.only diff --git a/Flora_GPS_Jacket/.flora.test b/ESP8266_Weather_Pixels/WeatherPixels/.esp8266.test.only similarity index 100% rename from Flora_GPS_Jacket/.flora.test rename to ESP8266_Weather_Pixels/WeatherPixels/.esp8266.test.only diff --git a/Ever_Burning_Flame_Painting/.cpx_ada.test.only b/Ever_Burning_Flame_Painting/.cpx_ada.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Ever_Burning_Flame_Painting/Ever_Burning_Flame_Painting.ino.ino b/Ever_Burning_Flame_Painting/Ever_Burning_Flame_Painting.ino similarity index 100% rename from Ever_Burning_Flame_Painting/Ever_Burning_Flame_Painting.ino.ino rename to Ever_Burning_Flame_Painting/Ever_Burning_Flame_Painting.ino diff --git a/Ever_Burning_Flame_Painting/Ever_Burning_Flame_Painting.ino/Ever_Burning_Flame_Painting.ino.ino b/Ever_Burning_Flame_Painting/Ever_Burning_Flame_Painting.ino/Ever_Burning_Flame_Painting.ino.ino deleted file mode 100644 index 0550ee3e8..000000000 --- a/Ever_Burning_Flame_Painting/Ever_Burning_Flame_Painting.ino/Ever_Burning_Flame_Painting.ino.ino +++ /dev/null @@ -1,199 +0,0 @@ -#include -#include // add FastLED library AFTER Circuit Playground library to avoid issues - -#define STRIP1_DATA_PIN 9 // define data pins for all 3 LED strips -#define STRIP2_DATA_PIN 12 -#define STRIP3_DATA_PIN 6 - -#define COLOR_ORDER GRB - -#define NUM_LEDS 80 // how many LEDs in each strip -#define NUM_LEDS_2 52 -#define NUM_LEDS_3 69 - -#define CAP_THRESHOLD 50 //Change capacitive touch sensitivitiy here -#define FRAMES_PER_SECOND 35 // faster or slower burning fire - -#define COOLING 55 // Less cooling = taller flames. Default 55, suggested range 20-100 -#define SPARKING 50 //Higher chance = more roaring fire. Default 120, suggested range 50-200 -#define BRIGHTNESS 125 // set global brightness here. 0-255 -#define FADE 40 //How slowly the LEDs fade to off - -CRGB leds[NUM_LEDS]; //separate LED arrays for all 3 strips -CRGB leds2[NUM_LEDS_2]; -CRGB leds3[NUM_LEDS_3]; - -static byte heat[NUM_LEDS]; // separate heat arrays for all 3 strips -static byte heat2[NUM_LEDS_2]; -static byte heat3[NUM_LEDS_3]; - -CRGBPalette16 currentPalette; -TBlendType currentBlending; -CRGBPalette16 gPal; - - -//BUTTON SETUP STUFF -byte prevKeyState = HIGH; - -//FIRST ACTIVE MODE -#define NUM_MODES 1 // actually 2 modes, mode 0 (off) and mode 1 (on) -int ledMode = 1; // change to 0 to make the LEDs dark on startup - -//READ CAP TOUCH BUTTON STATE -boolean capButton(uint8_t pad) { - Serial.println (CircuitPlayground.readCap(pad)); - if (CircuitPlayground.readCap(pad) > CAP_THRESHOLD) { - return true; - } else { - return false; - } -} - -//-------------------------------------------------- -void setup() { - // Initialize serial. - Serial.begin(9600); - - // Initialize Circuit Playground library. - CircuitPlayground.begin(); - - // Add all 3 LED strips for FastLED library - FastLED.addLeds(leds, NUM_LEDS).setCorrection( TypicalLEDStrip ); - FastLED.addLeds(leds2, NUM_LEDS_2).setCorrection( TypicalLEDStrip ); - FastLED.addLeds(leds3, NUM_LEDS_3).setCorrection( TypicalLEDStrip ); - - //Set global brightness - FastLED.setBrightness(BRIGHTNESS); - currentBlending = LINEARBLEND; - // Choose your color Palette - gPal = HeatColors_p; - //gpal = LavaColors_p; - //gpal = RainbowColors_p; - //gpal = CloudColors_p; - //gpal = ForestColors_p; - //gpal = PartyColors_p; - //gpal = RainbowStripeColors_p; - -} - -//----------------------------------------------------- -void loop() { - switch (ledMode) { - case 0: fire(); break; - case 1: alloff(); break; - } - // READ THE BUTTON - byte currKeyState = capButton(10); - if ((prevKeyState == true) && (currKeyState == false)) { - keyRelease(); - } - - prevKeyState = currKeyState; - -} - - -//BUTTON CONTROL -void keyRelease() { - Serial.println("short"); - - ledMode++; - if (ledMode > NUM_MODES){ - ledMode=0; } -} - - - void fire() -{ - - currentPalette = HeatColors_p; - Fire2012WithPalette(); // run simulation frame, using palette colors - Fire2012WithPalette2(); - Fire2012WithPalette3(); - FastLED.show(); // display this frame - FastLED.delay(1000 / FRAMES_PER_SECOND); - -} - - -void Fire2012WithPalette() -{ - random16_add_entropy( random()); - - for( int i = 0; i < NUM_LEDS; i++) { - heat[i] = qsub8( heat[i], random8(0, ((COOLING * 10) / NUM_LEDS) + 2)); - } - for( int k= NUM_LEDS - 3; k > 0; k--) { - heat[k] = (heat[k - 1] + heat[k - 2] + heat[k - 2] ) / 3; - } - if( random8() < SPARKING ) { - int y = random8(7); - heat[y] = qadd8( heat[y], random8(160,255) ); - } - for( int j = 0; j < NUM_LEDS; j++) { - byte colorindex = scale8( heat[j], 240); - leds[j] = ColorFromPalette( currentPalette, colorindex); - - } -} - -void Fire2012WithPalette2() -{ - random16_add_entropy( random()); - static byte heat2[NUM_LEDS_2]; - for( int i = 0; i < NUM_LEDS_2; i++) { - heat2[i] = qsub8( heat2[i], random8(0, ((COOLING * 10) / NUM_LEDS_2) + 2)); - } - for( int k= NUM_LEDS_2 - 3; k > 0; k--) { - heat2[k] = (heat2[k - 1] + heat2[k - 2] + heat2[k - 2] ) / 3; - } - if( random8() < SPARKING ) { - int y = random8(7); - heat2[y] = qadd8( heat2[y], random8(160,255) ); - } - for( int j = 0; j < NUM_LEDS_2; j++) { - byte colorindex = scale8( heat2[j], 240); - leds2[j] = ColorFromPalette( currentPalette, colorindex); - - } -} -void Fire2012WithPalette3() -{ - random16_add_entropy( random()); - for( int i = 0; i < NUM_LEDS_3; i++) { - heat3[i] = qsub8( heat3[i], random8(0, ((COOLING * 10) / NUM_LEDS_3) + 2)); - } - for( int k= NUM_LEDS_3 - 3; k > 0; k--) { - heat3[k] = (heat3[k - 1] + heat3[k - 2] + heat3[k - 2] ) / 3; - } - if( random8() < SPARKING ) { - int y = random8(7); - heat3[y] = qadd8( heat3[y], random8(160,255) ); - } - for( int j = 0; j < NUM_LEDS_3; j++) { - byte colorindex = scale8( heat3[j], 240); - leds3[j] = ColorFromPalette( currentPalette, colorindex); - - } -} - - -void alloff() { // Fade all LEDs slowly to black - for (int i = 0; i < NUM_LEDS; i++){ - leds[i].fadeToBlackBy( FADE ); - leds2[i].fadeToBlackBy( FADE ); - leds3[i].fadeToBlackBy( FADE ); - } - for(int i = 0; i < NUM_LEDS; i++) { - heat[i] = 0; -} - for(int i = 0; i < NUM_LEDS; i++) { - heat2[i] = 0; -} - for(int i = 0; i < NUM_LEDS; i++) { - heat3[i] = 0; -} - - FastLED.show(); - delay(20); -} diff --git a/Flora_Game_Controller/.flora.test b/Feather_Holiday_Lights/Feather_32u4_Lights/.feather32u4.test.only similarity index 100% rename from Flora_Game_Controller/.flora.test rename to Feather_Holiday_Lights/Feather_32u4_Lights/.feather32u4.test.only diff --git a/Flora_NeoGeo_Watch/.flora.test b/Feather_Holiday_Lights/Feather_BluefruitLE_Lights/.feather32u4.test.only similarity index 100% rename from Flora_NeoGeo_Watch/.flora.test rename to Feather_Holiday_Lights/Feather_BluefruitLE_Lights/.feather32u4.test.only diff --git a/Flora_Piano_Glove/.flora.test b/Feather_Power_Gauntlet/Gauntlet/.feather32u4.test.only similarity index 100% rename from Flora_Piano_Glove/.flora.test rename to Feather_Power_Gauntlet/Gauntlet/.feather32u4.test.only diff --git a/Feather_Power_Gauntlet/Gauntlet/Gauntlet.ino b/Feather_Power_Gauntlet/Gauntlet/Gauntlet.ino index 89b3b3ddd..a3dd1777c 100644 --- a/Feather_Power_Gauntlet/Gauntlet/Gauntlet.ino +++ b/Feather_Power_Gauntlet/Gauntlet/Gauntlet.ino @@ -1,6 +1,6 @@ #include #include -#include +#include #include #define LEDpin 6 @@ -20,7 +20,6 @@ Adafruit_NeoPixel strip = Adafruit_NeoPixel(19, LEDpin, NEO_GRB + NEO_KHZ800); /* Assign a unique ID to this sensor at the same time */ Adafruit_LSM303_Accel_Unified accel = Adafruit_LSM303_Accel_Unified(54321); - // #####Light Flicker int alpha; // Current value of the pixels int dir = 1; // Direction of the pixels... 1 = getting brighter, 0 = getting dimmer diff --git a/Feather_ePaper_Quotes/adafruit_feather_quote/.esp32.test.only b/Feather_ePaper_Quotes/adafruit_feather_quote/.esp32.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Feedback_Servo_Record_and_Play/.uno.test.only b/Feedback_Servo_Record_and_Play/.uno.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Fiber_Optic_Pixie_Skirt/.flora.test.only b/Fiber_Optic_Pixie_Skirt/.flora.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Fiber_Optic_Pixie_Skirt/Fiber_Optic_Pixie_Skirt.ino b/Fiber_Optic_Pixie_Skirt/Fiber_Optic_Pixie_Skirt.ino index 2759641ef..c9c104578 100644 --- a/Fiber_Optic_Pixie_Skirt/Fiber_Optic_Pixie_Skirt.ino +++ b/Fiber_Optic_Pixie_Skirt/Fiber_Optic_Pixie_Skirt.ino @@ -1,9 +1,9 @@ #include #include "SoftwareSerial.h" - #include #include -#include +#include +#include int ledMode = 0; //FIRST ACTIVE MODE @@ -16,7 +16,7 @@ SoftwareSerial pixieSerial(-1, PIXIEPIN); Adafruit_Pixie strip = Adafruit_Pixie(NUMPIXIES, &pixieSerial); Adafruit_LSM303_Accel_Unified accel = Adafruit_LSM303_Accel_Unified(54321); -Adafruit_LSM303_Mag_Unified mag = Adafruit_LSM303_Mag_Unified(12345); +Adafruit_LSM303DLH_Mag_Unified mag = Adafruit_LSM303DLH_Mag_Unified(12345); const float twirl = 7; // accelerometer threshold for toggling modes -- change this number to change sensitivity long twirlStart = 0; diff --git a/GPS_Dog_Collar/.leonardo.test b/Flora_Brakelight_Backpack/Flora_Brakelight_Backpack/.flora.test.only similarity index 100% rename from GPS_Dog_Collar/.leonardo.test rename to Flora_Brakelight_Backpack/Flora_Brakelight_Backpack/.flora.test.only diff --git a/GPStest_RMC/.uno.test b/Flora_Citi_Bike_Helmet/Citi_Bike_Helmet/.teensy3.test.only similarity index 100% rename from GPStest_RMC/.uno.test rename to Flora_Citi_Bike_Helmet/Citi_Bike_Helmet/.teensy3.test.only diff --git a/GemmaM0_Band_Jacket/DiscoBandCamp/.gemmam0.test b/Flora_Demos/Example_1_Button_Keyboard/.flora.test.only similarity index 100% rename from GemmaM0_Band_Jacket/DiscoBandCamp/.gemmam0.test rename to Flora_Demos/Example_1_Button_Keyboard/.flora.test.only diff --git a/IR_Sensor/Arduino/.uno.test b/Flora_Demos/Example_2_Capacitive_Keyboard/.flora.test.only similarity index 100% rename from IR_Sensor/Arduino/.uno.test rename to Flora_Demos/Example_2_Capacitive_Keyboard/.flora.test.only diff --git a/Kinetic_POV/bikewheel/.protrinket.test b/Flora_Demos/Example_3_Accelerometer_Tap/.flora.test.only similarity index 100% rename from Kinetic_POV/bikewheel/.protrinket.test rename to Flora_Demos/Example_3_Accelerometer_Tap/.flora.test.only diff --git a/Kinetic_POV/dblstaff/.uno.test b/Flora_Demos/Example_4_Accelerometer_LED/.flora.test.only similarity index 100% rename from Kinetic_POV/dblstaff/.uno.test rename to Flora_Demos/Example_4_Accelerometer_LED/.flora.test.only diff --git a/Kinetic_POV/poi/.trinket.test b/Flora_Demos/Example_5_Amplitie/.flora.test.only similarity index 100% rename from Kinetic_POV/poi/.trinket.test rename to Flora_Demos/Example_5_Amplitie/.flora.test.only diff --git a/Kinetic_POV/supernova_poi/.teensy.test b/Flora_GPS_Jacket/Flora_GPS_Jacket/.flora.test.only similarity index 100% rename from Kinetic_POV/supernova_poi/.teensy.test rename to Flora_GPS_Jacket/Flora_GPS_Jacket/.flora.test.only diff --git a/Flora_GPS_Jacket/Flora_GPS_Jacket/Flora_GPS_Jacket.ino b/Flora_GPS_Jacket/Flora_GPS_Jacket/Flora_GPS_Jacket.ino index c9b6213e1..f07c8fcf0 100644 --- a/Flora_GPS_Jacket/Flora_GPS_Jacket/Flora_GPS_Jacket.ino +++ b/Flora_GPS_Jacket/Flora_GPS_Jacket/Flora_GPS_Jacket.ino @@ -12,7 +12,8 @@ #include #include -#include "Adafruit_FloraPixel.h" +#include "Adafruit_NeoPixel.h" + Adafruit_GPS GPS(&Serial1); // Set GPSECHO to 'false' to turn off echoing the GPS data to the Serial console @@ -51,7 +52,8 @@ float tripDistance; boolean isStarted = false; // Set the first variable to the NUMBER of pixels. 25 = 25 pixels in a row -Adafruit_FloraPixel strip = Adafruit_FloraPixel(2); +// second var is pin +Adafruit_NeoPixel strip = Adafruit_NeoPixel(2, 6, NEO_GRB + NEO_KHZ800); uint8_t LED_Breathe_Table[] = { 80, 87, 95, 103, 112, 121, 131, 141, 151, 161, 172, 182, 192, 202, 211, 220, diff --git a/LED_Ampli_Tie/.flora.test b/Flora_Game_Controller/flora_game_controller/.flora.test.only similarity index 100% rename from LED_Ampli_Tie/.flora.test rename to Flora_Game_Controller/flora_game_controller/.flora.test.only diff --git a/Flora_Game_Controller/flora_game_controller/flora_game_controller.ino b/Flora_Game_Controller/flora_game_controller/flora_game_controller.ino index 69a9d4fbf..562df0428 100644 --- a/Flora_Game_Controller/flora_game_controller/flora_game_controller.ino +++ b/Flora_Game_Controller/flora_game_controller/flora_game_controller.ino @@ -10,6 +10,7 @@ Uses Modern Device's Capacitive Sensing library: https://github.com/moderndevice */ #include +#include CapPin cPin_10 = CapPin(10); // read pin 10 (D10 on Flora) - connect to NES B CapPin cPin_9 = CapPin(9); // read pin 9 (D9 on Flora) - connect to NES A diff --git a/Mini_LED_Gamer/.trinket.test b/Flora_NeoGeo_Watch/Flora_NeoGeo_Watch/.flora.test.only similarity index 100% rename from Mini_LED_Gamer/.trinket.test rename to Flora_NeoGeo_Watch/Flora_NeoGeo_Watch/.flora.test.only diff --git a/Flora_NeoGeo_Watch/Flora_NeoGeo_Watch/Flora_NeoGeo_Watch.ino b/Flora_NeoGeo_Watch/Flora_NeoGeo_Watch/Flora_NeoGeo_Watch.ino index b21fcbf18..94a235144 100644 --- a/Flora_NeoGeo_Watch/Flora_NeoGeo_Watch/Flora_NeoGeo_Watch.ino +++ b/Flora_NeoGeo_Watch/Flora_NeoGeo_Watch/Flora_NeoGeo_Watch.ino @@ -16,11 +16,12 @@ #include #include #include -#include +#include + Adafruit_GPS GPS(&Serial1); /* Assign a unique ID to this sensor at the same time */ -Adafruit_LSM303_Mag_Unified mag = Adafruit_LSM303_Mag_Unified(12345); +Adafruit_LSM303DLH_Mag_Unified mag = Adafruit_LSM303DLH_Mag_Unified(12345); // Set GPSECHO to 'false' to turn off echoing the GPS data to the Serial console // Set to 'true' if you want to debug and listen to the raw GPS sentences diff --git a/NY_Tower_Light/.esp8266.test b/Flora_Piano_Glove/Flora_Pianoglove/.flora.test.only similarity index 100% rename from NY_Tower_Light/.esp8266.test rename to Flora_Piano_Glove/Flora_Pianoglove/.flora.test.only diff --git a/Open_Sesame_SMS_Lock/.uno.test b/Flora_Sparkle_Skirt/sparkle_skirt/.flora.test.only similarity index 100% rename from Open_Sesame_SMS_Lock/.uno.test rename to Flora_Sparkle_Skirt/sparkle_skirt/.flora.test.only diff --git a/Flora_Sparkle_Skirt/sparkle_skirt/sparkle_skirt.ino b/Flora_Sparkle_Skirt/sparkle_skirt/sparkle_skirt.ino index 674a13d94..e916d4ee1 100644 --- a/Flora_Sparkle_Skirt/sparkle_skirt/sparkle_skirt.ino +++ b/Flora_Sparkle_Skirt/sparkle_skirt/sparkle_skirt.ino @@ -1,6 +1,6 @@ #include #include -#include +#include #include // Parameter 1 = number of pixels in strip @@ -11,7 +11,7 @@ // NEO_KHZ400 400 KHz bitstream (e.g. FLORA pixels) // NEO_KHZ800 800 KHz bitstream (e.g. High Density LED strip) Adafruit_NeoPixel strip = Adafruit_NeoPixel(6, 6, NEO_GRB + NEO_KHZ800); -Adafruit_LSM303_Accel_Unified accel = Adafruit_LSM303_Accel_Unified(54321); +Adafruit_LSM303DLH_Mag_Unified accel = Adafruit_LSM303DLH_Mag_Unified(54321); // Here is where you can put in your favorite colors that will appear! // just add new {nnn, nnn, nnn}, lines. They will be picked out randomly diff --git a/Portable_Trellis_Soundboard/TrellisSound/.protrinket.test b/Flora_TV_B_Gone/.flora.test.only similarity index 100% rename from Portable_Trellis_Soundboard/TrellisSound/.protrinket.test rename to Flora_TV_B_Gone/.flora.test.only diff --git a/Programmable_Piggy_Bank/.uno.test b/GPS_Dog_Collar/GPS_Dog_Collar/.feather32u4.test.only similarity index 100% rename from Programmable_Piggy_Bank/.uno.test rename to GPS_Dog_Collar/GPS_Dog_Collar/.feather32u4.test.only diff --git a/PyGamer_Bounce_Game/bounce/.arcada.test b/GPStest_RMC/GPStest_RMC/.uno.test.only similarity index 100% rename from PyGamer_Bounce_Game/bounce/.arcada.test rename to GPStest_RMC/GPStest_RMC/.uno.test.only diff --git a/Reflowduino/.uno.test b/GemmaM0_Band_Jacket/DiscoBandCamp/.gemma_m0.test.only similarity index 100% rename from Reflowduino/.uno.test rename to GemmaM0_Band_Jacket/DiscoBandCamp/.gemma_m0.test.only diff --git a/SD_Basic_GPS_Logger/.uno.test b/Gemma_3D_Printed_Tree_Topper/.gemma.test.only similarity index 100% rename from SD_Basic_GPS_Logger/.uno.test rename to Gemma_3D_Printed_Tree_Topper/.gemma.test.only diff --git a/SD_Card_Testing_Jig/.uno.test b/Gemma_3D_Printed_Tree_Topper/.gemma_m0.test.only similarity index 100% rename from SD_Card_Testing_Jig/.uno.test rename to Gemma_3D_Printed_Tree_Topper/.gemma_m0.test.only diff --git a/Smart_Toilet_Light/.esp8266.test b/Gemma_Firewalker_Lite_Sneakers/.gemma.test.only similarity index 100% rename from Smart_Toilet_Light/.esp8266.test rename to Gemma_Firewalker_Lite_Sneakers/.gemma.test.only diff --git a/Solar_Charger_Tracker/.uno.test b/Gemma_Hoop_Earrings/.gemma.test.only similarity index 100% rename from Solar_Charger_Tracker/.uno.test rename to Gemma_Hoop_Earrings/.gemma.test.only diff --git a/Themistor/.uno.test b/Gemma_Hoop_Earrings/.gemma_m0.test.only similarity index 100% rename from Themistor/.uno.test rename to Gemma_Hoop_Earrings/.gemma_m0.test.only diff --git a/Tiny_Music_Visualizer/.uno.test b/Gemma_Nano_Ring/.gemma.test.only similarity index 100% rename from Tiny_Music_Visualizer/.uno.test rename to Gemma_Nano_Ring/.gemma.test.only diff --git a/Track_Your_Treats/.uno.test b/Gemma_Nano_Ring/.gemma_m0.test.only similarity index 100% rename from Track_Your_Treats/.uno.test rename to Gemma_Nano_Ring/.gemma_m0.test.only diff --git a/Trinket_Pro_Fire_Pendant/.trinket.test b/Glowing_Beehive_Hairdo_Wig/.cpx_ada.test.only similarity index 100% rename from Trinket_Pro_Fire_Pendant/.trinket.test rename to Glowing_Beehive_Hairdo_Wig/.cpx_ada.test.only diff --git a/Trinket_React_Counter/.uno.test b/Glowing_Mirror_Mask/Glowing_Mirror_Mask/.hallowing_m0.test.only similarity index 100% rename from Trinket_React_Counter/.uno.test rename to Glowing_Mirror_Mask/Glowing_Mirror_Mask/.hallowing_m0.test.only diff --git a/Gordon_Cole_MP3_Player/.metro_m0.test.only b/Gordon_Cole_MP3_Player/.metro_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Guardian_Robot_Zelda_BOTW/Trinket_Guardian_Sketch/.trinket_5v.test.only b/Guardian_Robot_Zelda_BOTW/Trinket_Guardian_Sketch/.trinket_5v.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/HAL-9000/.uno.test.only b/HAL-9000/.uno.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Hallowing/graphicstest/.hallowing_m0.test.only b/Hallowing/graphicstest/.hallowing_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Hallowing_Googly_Eye/.hallowing_m0.test.only b/Hallowing_Googly_Eye/.hallowing_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Hallowing_Minotaur_Maze/.hallowing_m0.test.only b/Hallowing_Minotaur_Maze/.hallowing_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Hallowing_Spirit_Board/.hallowing_m0.test.only b/Hallowing_Spirit_Board/.hallowing_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Hue_Controller/.feather_m0_express.test.only b/Hue_Controller/.feather_m0_express.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Hue_Controller/Hue_Controller.ino b/Hue_Controller/Hue_Controller.ino index 27ebf5724..39fe46ffb 100644 --- a/Hue_Controller/Hue_Controller.ino +++ b/Hue_Controller/Hue_Controller.ino @@ -15,7 +15,7 @@ All text above must be included in any redistribution #include "Adafruit_MQTT.h" #include "Adafruit_MQTT_Client.h" -#include "secrets.h" +#include "arduino_secrets.h" #define BUTTON_A 9 #define BUTTON_B 6 diff --git a/Hue_Controller/arduino_secrets.h b/Hue_Controller/arduino_secrets.h new file mode 100644 index 000000000..09cee67b3 --- /dev/null +++ b/Hue_Controller/arduino_secrets.h @@ -0,0 +1,2 @@ +#define SECRET_SSID "ssid" +#define SECRET_PASS "password" diff --git a/Humidity_Alarm/.uno.test.only b/Humidity_Alarm/.uno.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/IFTTT_Door_Detector/.esp8266.test.only b/IFTTT_Door_Detector/.esp8266.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/USB_NeXT_Keyboard/.micro.test b/IR_Sensor/Arduino/IR_Commander/.uno.test.only similarity index 100% rename from USB_NeXT_Keyboard/.micro.test rename to IR_Sensor/Arduino/IR_Commander/.uno.test.only diff --git a/USB_SNES_Gamepad/.teensy.test b/IR_Sensor/Arduino/Intervalometer/.uno.test.only similarity index 100% rename from USB_SNES_Gamepad/.teensy.test rename to IR_Sensor/Arduino/Intervalometer/.uno.test.only diff --git a/IR_Sensor/Arduino/Raw_IR/.uno.test.only b/IR_Sensor/Arduino/Raw_IR/.uno.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/IR_Sensor/Arduino/Raw_IR/.uno.test.only @@ -0,0 +1 @@ + diff --git a/Interior_Purse_Light/.gemma.test.only b/Interior_Purse_Light/.gemma.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Interior_Purse_Light/.gemma_m0.test.only b/Interior_Purse_Light/.gemma_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Introducing_CircuitPlaygroundExpress/digitalio/.cpx_ada.test.only b/Introducing_CircuitPlaygroundExpress/digitalio/.cpx_ada.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Introducing_CircuitPlaygroundExpress/digitalio_lib/.ada_cpx.test.only b/Introducing_CircuitPlaygroundExpress/digitalio_lib/.ada_cpx.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Jack_O_LED_trix/.feather32u4.test.only b/Jack_O_LED_trix/.feather32u4.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Jewel_Hair_Stick/.gemma.test.only b/Jewel_Hair_Stick/.gemma.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Jewel_Hair_Stick/.gemma_m0.test.only b/Jewel_Hair_Stick/.gemma_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Joy_game_controller/.feather_m0_express.test.only b/Joy_game_controller/.feather_m0_express.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Joy_of_Arcada/.pygamer.test.only b/Joy_of_Arcada/.pygamer.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Kaleidoscope_Eyes_NeoPixel_LED_Goggles/.gemma.test.only b/Kaleidoscope_Eyes_NeoPixel_LED_Goggles/.gemma.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Kaleidoscope_Eyes_NeoPixel_LED_Goggles/.gemma_m0.test.only b/Kaleidoscope_Eyes_NeoPixel_LED_Goggles/.gemma_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Kinetic_POV/bikewheel/.protrinket_5v.test.only b/Kinetic_POV/bikewheel/.protrinket_5v.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Kinetic_POV/bikewheel/.protrinket_5v.test.only @@ -0,0 +1 @@ + diff --git a/Kinetic_POV/dblstaff/.protrinket_5v.test.only b/Kinetic_POV/dblstaff/.protrinket_5v.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Kinetic_POV/dblstaff/.protrinket_5v.test.only @@ -0,0 +1 @@ + diff --git a/Kinetic_POV/poi/.trinket_5v.test.only b/Kinetic_POV/poi/.trinket_5v.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Kinetic_POV/poi/.trinket_5v.test.only @@ -0,0 +1 @@ + diff --git a/Kinetic_POV/supernova_poi/.teensy3.test.only b/Kinetic_POV/supernova_poi/.teensy3.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Kinetic_POV/supernova_poi/.teensy3.test.only @@ -0,0 +1 @@ + diff --git a/LED_Ampli_Tie/Ampli_Tie_Adjustable/.flora.test.only b/LED_Ampli_Tie/Ampli_Tie_Adjustable/.flora.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/LED_Ampli_Tie/Ampli_Tie_Adjustable/.flora.test.only @@ -0,0 +1 @@ + diff --git a/LED_Ampli_Tie/Ampli_Tie_Dynamic/.flora.test.only b/LED_Ampli_Tie/Ampli_Tie_Dynamic/.flora.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/LED_Ampli_Tie/Ampli_Tie_Dynamic/.flora.test.only @@ -0,0 +1 @@ + diff --git a/LED_Candles/.gemma.test.only b/LED_Candles/.gemma.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/LED_Candles/.gemma.test.only @@ -0,0 +1 @@ + diff --git a/LED_Candles/.gemma_m0.test.only b/LED_Candles/.gemma_m0.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/LED_Candles/.gemma_m0.test.only @@ -0,0 +1 @@ + diff --git a/LED_Harness_Bra/.cpx_ada.test.only b/LED_Harness_Bra/.cpx_ada.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/LED_Harness_Bra/.cpx_ada.test.only @@ -0,0 +1 @@ + diff --git a/LED_Harness_Bra/Harness-Bra.ino b/LED_Harness_Bra/LED_Harness_Bra.ino similarity index 99% rename from LED_Harness_Bra/Harness-Bra.ino rename to LED_Harness_Bra/LED_Harness_Bra.ino index b42a2edb7..f05ddca21 100644 --- a/LED_Harness_Bra/Harness-Bra.ino +++ b/LED_Harness_Bra/LED_Harness_Bra.ino @@ -10,7 +10,7 @@ Summary: -Use the slide-switch (D7) to turn off the LEDs. This does not turn the board off. */ #include -#include "Adafruit_CPlay_Mic.h" +#include // Circuit Playground Setup---------------------------------------------------- #define CP_PIN 8 //CPX neopixels live on pin 8, CP live on pin 17 @@ -61,7 +61,6 @@ int ledMode = 0; #define DENSITY 255 // SOUND REACTIVE SETUP ------------------------------------------------------ -Adafruit_CPlay_Mic mic; // To keep the display 'lively,' an upper and lower range of volume // levels are dynamically adjusted based on recent audio history, and @@ -500,7 +499,7 @@ void soundreactive() { uint16_t minLvl, maxLvl, a, scaled; int16_t p; - p = mic.soundPressureLevel(10); // 10 ms + p = CircuitPlayground.mic.soundPressureLevel(10); // 10 ms p = map(p, 56, 140, 0, 350); // Scale to 0-350 (may overflow) a = constrain(p, 0, 350); // Clip to 0-350 range sum -= lvl[lvlIdx]; diff --git a/LED_Masquerade_Masks/Audio_Reactive/.gemma.test.only b/LED_Masquerade_Masks/Audio_Reactive/.gemma.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/LED_Masquerade_Masks/Audio_Reactive/.gemma.test.only @@ -0,0 +1 @@ + diff --git a/LED_Masquerade_Masks/Audio_Reactive/.gemma_m0.test.only b/LED_Masquerade_Masks/Audio_Reactive/.gemma_m0.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/LED_Masquerade_Masks/Audio_Reactive/.gemma_m0.test.only @@ -0,0 +1 @@ + diff --git a/LED_Masquerade_Masks/Audio_Reactive.ino b/LED_Masquerade_Masks/Audio_Reactive/Audio_Reactive.ino similarity index 100% rename from LED_Masquerade_Masks/Audio_Reactive.ino rename to LED_Masquerade_Masks/Audio_Reactive/Audio_Reactive.ino diff --git a/LED_Masquerade_Masks/NeoPixel_Gemma_Mask/.gemma.test.only b/LED_Masquerade_Masks/NeoPixel_Gemma_Mask/.gemma.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/LED_Masquerade_Masks/NeoPixel_Gemma_Mask/.gemma.test.only @@ -0,0 +1 @@ + diff --git a/LED_Masquerade_Masks/NeoPixel_Gemma_Mask/.gemma_m0.test.only b/LED_Masquerade_Masks/NeoPixel_Gemma_Mask/.gemma_m0.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/LED_Masquerade_Masks/NeoPixel_Gemma_Mask/.gemma_m0.test.only @@ -0,0 +1 @@ + diff --git a/LED_Masquerade_Masks/NeoPixel_Gemma_Mask.ino b/LED_Masquerade_Masks/NeoPixel_Gemma_Mask/NeoPixel_Gemma_Mask.ino similarity index 100% rename from LED_Masquerade_Masks/NeoPixel_Gemma_Mask.ino rename to LED_Masquerade_Masks/NeoPixel_Gemma_Mask/NeoPixel_Gemma_Mask.ino diff --git a/LED_Sand/.feather_32u4.test.only b/LED_Sand/.feather_32u4.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/LED_Sand/.feather_32u4.test.only @@ -0,0 +1 @@ + diff --git a/LSM303/servo_calibration/.uno.test.only b/LSM303/servo_calibration/.uno.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/LSM303/servo_calibration/.uno.test.only @@ -0,0 +1 @@ + diff --git a/LSM303/servo_compass/.uno.test.only b/LSM303/servo_compass/.uno.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/LSM303/servo_compass/.uno.test.only @@ -0,0 +1 @@ + diff --git a/LSM303/servo_compass/servo_compass.ino b/LSM303/servo_compass/servo_compass.ino index 84b8108cf..d8d1ccc94 100644 --- a/LSM303/servo_compass/servo_compass.ino +++ b/LSM303/servo_compass/servo_compass.ino @@ -8,14 +8,14 @@ #include #include -#include +#include //Uncomment this line and comment out the above for the LSM303DLH //#include #include /* Assign a unique ID to this sensor at the same time */ -Adafruit_LSM303AGR_Mag_Unified mag = Adafruit_LSM303AGR_Mag_Unified(12345); +Adafruit_LIS2MDL mag = Adafruit_LIS2MDL(12345); //Uncomment this line and comment out the above for the LSM303DLH //Adafruit_LSM303DLH_Mag_Unified mag = Adafruit_LSM303AGR_Mag_Unified(12345); diff --git a/Larson_Scanner_Shades/.gemma.test.only b/Larson_Scanner_Shades/.gemma.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Larson_Scanner_Shades/.gemma.test.only @@ -0,0 +1 @@ + diff --git a/Larson_Scanner_Shades/.gemma_m0.test.only b/Larson_Scanner_Shades/.gemma_m0.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Larson_Scanner_Shades/.gemma_m0.test.only @@ -0,0 +1 @@ + diff --git a/Laser_Dog_Goggles/.trinket_5v.test.only b/Laser_Dog_Goggles/.trinket_5v.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Laser_Dog_Goggles/.trinket_5v.test.only @@ -0,0 +1 @@ + diff --git a/Light_Activated_Pixel_Heart/.gemma.test.only b/Light_Activated_Pixel_Heart/.gemma.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Light_Activated_Pixel_Heart/.gemma.test.only @@ -0,0 +1 @@ + diff --git a/Light_Activated_Pixel_Heart/.gemma_m0.test.only b/Light_Activated_Pixel_Heart/.gemma_m0.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Light_Activated_Pixel_Heart/.gemma_m0.test.only @@ -0,0 +1 @@ + diff --git a/Logans_Run_Hand_Jewel_LED/.gemma.test.only b/Logans_Run_Hand_Jewel_LED/.gemma.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Logans_Run_Hand_Jewel_LED/.gemma.test.only @@ -0,0 +1 @@ + diff --git a/Logans_Run_Hand_Jewel_LED/.gemma_m0.test.only b/Logans_Run_Hand_Jewel_LED/.gemma_m0.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Logans_Run_Hand_Jewel_LED/.gemma_m0.test.only @@ -0,0 +1 @@ + diff --git a/M4_Eyes/.hallowing_m4.test.only b/M4_Eyes/.hallowing_m4.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/M4_Eyes/.monster_m4sk.test.only b/M4_Eyes/.monster_m4sk.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/MIDI_Solenoid_Drummer/.feather_m0_express.test.only b/MIDI_Solenoid_Drummer/.feather_m0_express.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Magic_Wand/.uno.test.only b/Magic_Wand/.uno.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Make_It_Twist_Potentiometer/analog-read/.cpx_ada.test.only b/Make_It_Twist_Potentiometer/analog-read/.cpx_ada.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Make_It_Twist_Potentiometer/analog-read.ino b/Make_It_Twist_Potentiometer/analog-read/analog-read.ino similarity index 100% rename from Make_It_Twist_Potentiometer/analog-read.ino rename to Make_It_Twist_Potentiometer/analog-read/analog-read.ino diff --git a/Make_It_Twist_Potentiometer/potentiometer-neopixels/.cpx_ada.test.only b/Make_It_Twist_Potentiometer/potentiometer-neopixels/.cpx_ada.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Make_It_Twist_Potentiometer/potentiometer-neopixels.ino b/Make_It_Twist_Potentiometer/potentiometer-neopixels/potentiometer-neopixels.ino similarity index 100% rename from Make_It_Twist_Potentiometer/potentiometer-neopixels.ino rename to Make_It_Twist_Potentiometer/potentiometer-neopixels/potentiometer-neopixels.ino diff --git a/Microcontroller_Benchmarking/dhrystone21/.uno.test.only b/Microcontroller_Benchmarking/dhrystone21/.uno.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Mini_LED_Gamer/Mini_LED_Gamer/.protrinket_5v.test.only b/Mini_LED_Gamer/Mini_LED_Gamer/.protrinket_5v.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Mini_LED_Gamer/Mini_LED_Gamer/.protrinket_5v.test.only @@ -0,0 +1 @@ + diff --git a/Mini_LED_Gamer/Mini_LED_Gamer/Menu.ino b/Mini_LED_Gamer/Mini_LED_Gamer/Menu.cpp similarity index 96% rename from Mini_LED_Gamer/Mini_LED_Gamer/Menu.ino rename to Mini_LED_Gamer/Mini_LED_Gamer/Menu.cpp index 8ce46d8c3..470436b07 100644 --- a/Mini_LED_Gamer/Mini_LED_Gamer/Menu.ino +++ b/Mini_LED_Gamer/Mini_LED_Gamer/Menu.cpp @@ -1,3 +1,6 @@ +#include +extern uint8_t mode; + const uint8_t tetrisBoot[16]={ B00000000, B00000000, diff --git a/Mini_LED_Gamer/Mini_LED_Gamer/Mini_LED_Gamer.ino b/Mini_LED_Gamer/Mini_LED_Gamer/Mini_LED_Gamer.ino index 5f35a4eef..967fa33a2 100644 --- a/Mini_LED_Gamer/Mini_LED_Gamer/Mini_LED_Gamer.ino +++ b/Mini_LED_Gamer/Mini_LED_Gamer/Mini_LED_Gamer.ino @@ -23,6 +23,10 @@ Tetris tetris; Snake snake; Paint paint(3,3); // initilize cursor position to (3,3) +uint8_t* getMenu(); +void changeOption(int8_t i); +void changeMode(); + // Mode: 0-Undecided; 1-Tetris; 2-Snake; 3-Paint uint8_t mode=0; diff --git a/Mini_Smart_Home_with_Huzzah/HuzzahCrickitIOT-ESP32/.esp32.test.only b/Mini_Smart_Home_with_Huzzah/HuzzahCrickitIOT-ESP32/.esp32.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Mini_Smart_Home_with_Huzzah/HuzzahCrickitIOT-ESP32/.esp32.test.only @@ -0,0 +1 @@ + diff --git a/Mini_Smart_Home_with_Huzzah/HuzzahCrickitIOT-ESP8266/.esp8266.test.only b/Mini_Smart_Home_with_Huzzah/HuzzahCrickitIOT-ESP8266/.esp8266.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Mini_Smart_Home_with_Huzzah/HuzzahCrickitIOT-ESP8266/.esp8266.test.only @@ -0,0 +1 @@ + diff --git a/MonsterMaskVoiceChanger/.monster_m4sk.test.only b/MonsterMaskVoiceChanger/.monster_m4sk.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/MonsterMaskVoiceChanger/.monster_m4sk.test.only @@ -0,0 +1 @@ + diff --git a/Munny_Lamp/.feather_m0_express.test.only b/Munny_Lamp/.feather_m0_express.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Mystical_LED_Halloween_Hood/.gemma.test.only b/Mystical_LED_Halloween_Hood/.gemma.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Mystical_LED_Halloween_Hood/.gemma.test.only @@ -0,0 +1 @@ + diff --git a/Mystical_LED_Halloween_Hood/.gemma_m0.test.only b/Mystical_LED_Halloween_Hood/.gemma_m0.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Mystical_LED_Halloween_Hood/.gemma_m0.test.only @@ -0,0 +1 @@ + diff --git a/NY_Tower_Light/esp8266_tower/.esp8266.test.only b/NY_Tower_Light/esp8266_tower/.esp8266.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/NY_Tower_Light/esp8266_tower/.esp8266.test.only @@ -0,0 +1 @@ + diff --git a/NeoPixel_Basketball_Hoop/NeoPixel_Basketball_Hoop-Point_Sensor/.gemma.test.only b/NeoPixel_Basketball_Hoop/NeoPixel_Basketball_Hoop-Point_Sensor/.gemma.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/NeoPixel_Basketball_Hoop/NeoPixel_Basketball_Hoop-Point_Sensor/.gemma.test.only @@ -0,0 +1 @@ + diff --git a/NeoPixel_Basketball_Hoop/NeoPixel_Basketball_Hoop-Point_Sensor.ino b/NeoPixel_Basketball_Hoop/NeoPixel_Basketball_Hoop-Point_Sensor/NeoPixel_Basketball_Hoop-Point_Sensor.ino similarity index 100% rename from NeoPixel_Basketball_Hoop/NeoPixel_Basketball_Hoop-Point_Sensor.ino rename to NeoPixel_Basketball_Hoop/NeoPixel_Basketball_Hoop-Point_Sensor/NeoPixel_Basketball_Hoop-Point_Sensor.ino diff --git a/NeoPixel_Basketball_Hoop/NeoPixel_Basketball_Hoop/.gemma.test.only b/NeoPixel_Basketball_Hoop/NeoPixel_Basketball_Hoop/.gemma.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/NeoPixel_Basketball_Hoop/NeoPixel_Basketball_Hoop/.gemma.test.only @@ -0,0 +1 @@ + diff --git a/NeoPixel_Basketball_Hoop/NeoPixel_Basketball_Hoop/.gemma_m0.test.only b/NeoPixel_Basketball_Hoop/NeoPixel_Basketball_Hoop/.gemma_m0.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/NeoPixel_Basketball_Hoop/NeoPixel_Basketball_Hoop/.gemma_m0.test.only @@ -0,0 +1 @@ + diff --git a/NeoPixel_Basketball_Hoop/NeoPixel_Basketball_Hoop.ino b/NeoPixel_Basketball_Hoop/NeoPixel_Basketball_Hoop/NeoPixel_Basketball_Hoop.ino similarity index 100% rename from NeoPixel_Basketball_Hoop/NeoPixel_Basketball_Hoop.ino rename to NeoPixel_Basketball_Hoop/NeoPixel_Basketball_Hoop/NeoPixel_Basketball_Hoop.ino diff --git a/NeoPixel_Blinkendisc/.gemma.test.only b/NeoPixel_Blinkendisc/.gemma.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/NeoPixel_Blinkendisc/.gemma.test.only @@ -0,0 +1 @@ + diff --git a/NeoPixel_Blinkendisc/.gemma_m0.test.only b/NeoPixel_Blinkendisc/.gemma_m0.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/NeoPixel_Blinkendisc/.gemma_m0.test.only @@ -0,0 +1 @@ + diff --git a/NeoPixel_Cyber_Falls_Wig/.trinket_5v.test.only b/NeoPixel_Cyber_Falls_Wig/.trinket_5v.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/NeoPixel_Cyber_Falls_Wig/.trinket_5v.test.only @@ -0,0 +1 @@ + diff --git a/NeoPixel_Cyber_Falls_Wig/NeoPixel_Cyber_Falls_Wig.ino b/NeoPixel_Cyber_Falls_Wig/NeoPixel_Cyber_Falls_Wig.ino index 13d96b3d8..b1b5520a4 100644 --- a/NeoPixel_Cyber_Falls_Wig/NeoPixel_Cyber_Falls_Wig.ino +++ b/NeoPixel_Cyber_Falls_Wig/NeoPixel_Cyber_Falls_Wig.ino @@ -8,7 +8,7 @@ #include #include -uint8_t gamma[] PROGMEM = { // Gamma correction table for LED brightness +const uint8_t gamma[] PROGMEM = { // Gamma correction table for LED brightness 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, diff --git a/NeoPixel_GoPro_Lens_Light/.gemma.test.only b/NeoPixel_GoPro_Lens_Light/.gemma.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/NeoPixel_GoPro_Lens_Light/.gemma.test.only @@ -0,0 +1 @@ + diff --git a/NeoPixel_GoPro_Lens_Light/.gemma_m0.test.only b/NeoPixel_GoPro_Lens_Light/.gemma_m0.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/NeoPixel_GoPro_Lens_Light/.gemma_m0.test.only @@ -0,0 +1 @@ + diff --git a/NeoPixel_Jewel_10_Minute_Necklace/.gemma.test.only b/NeoPixel_Jewel_10_Minute_Necklace/.gemma.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/NeoPixel_Jewel_10_Minute_Necklace/.gemma.test.only @@ -0,0 +1 @@ + diff --git a/NeoPixel_Jewel_10_Minute_Necklace/.gemma_m0.test.only b/NeoPixel_Jewel_10_Minute_Necklace/.gemma_m0.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/NeoPixel_Jewel_10_Minute_Necklace/.gemma_m0.test.only @@ -0,0 +1 @@ + diff --git a/NeoPixel_Punk_Collar/.gemma.test.only b/NeoPixel_Punk_Collar/.gemma.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/NeoPixel_Punk_Collar/.gemma.test.only @@ -0,0 +1 @@ + diff --git a/NeoPixel_Punk_Collar/.gemma_m0.test.only b/NeoPixel_Punk_Collar/.gemma_m0.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/NeoPixel_Punk_Collar/.gemma_m0.test.only @@ -0,0 +1 @@ + diff --git a/NeoPixel_Ring_Bangle_Bracelet/Figure_Eight/.gemma.test.only b/NeoPixel_Ring_Bangle_Bracelet/Figure_Eight/.gemma.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/NeoPixel_Ring_Bangle_Bracelet/Figure_Eight/.gemma.test.only @@ -0,0 +1 @@ + diff --git a/NeoPixel_Ring_Bangle_Bracelet/Figure_Eight/.gemma_m0.test.only b/NeoPixel_Ring_Bangle_Bracelet/Figure_Eight/.gemma_m0.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/NeoPixel_Ring_Bangle_Bracelet/Figure_Eight/.gemma_m0.test.only @@ -0,0 +1 @@ + diff --git a/NeoPixel_Ring_Bangle_Bracelet/Figure_Eight.ino b/NeoPixel_Ring_Bangle_Bracelet/Figure_Eight/Figure_Eight.ino similarity index 100% rename from NeoPixel_Ring_Bangle_Bracelet/Figure_Eight.ino rename to NeoPixel_Ring_Bangle_Bracelet/Figure_Eight/Figure_Eight.ino diff --git a/NeoPixel_Ring_Bangle_Bracelet/Random_Flash/.gemma.test.only b/NeoPixel_Ring_Bangle_Bracelet/Random_Flash/.gemma.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/NeoPixel_Ring_Bangle_Bracelet/Random_Flash/.gemma.test.only @@ -0,0 +1 @@ + diff --git a/NeoPixel_Ring_Bangle_Bracelet/Random_Flash/.gemma_m0.test.only b/NeoPixel_Ring_Bangle_Bracelet/Random_Flash/.gemma_m0.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/NeoPixel_Ring_Bangle_Bracelet/Random_Flash/.gemma_m0.test.only @@ -0,0 +1 @@ + diff --git a/NeoPixel_Ring_Bangle_Bracelet/Random_Flash.ino b/NeoPixel_Ring_Bangle_Bracelet/Random_Flash/Random_Flash.ino similarity index 100% rename from NeoPixel_Ring_Bangle_Bracelet/Random_Flash.ino rename to NeoPixel_Ring_Bangle_Bracelet/Random_Flash/Random_Flash.ino diff --git a/NeoPixel_Ring_Bangle_Bracelet/Sine_Wave/.gemma.test.only b/NeoPixel_Ring_Bangle_Bracelet/Sine_Wave/.gemma.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/NeoPixel_Ring_Bangle_Bracelet/Sine_Wave/.gemma.test.only @@ -0,0 +1 @@ + diff --git a/NeoPixel_Ring_Bangle_Bracelet/Sine_Wave/.gemma_m0.test.only b/NeoPixel_Ring_Bangle_Bracelet/Sine_Wave/.gemma_m0.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/NeoPixel_Ring_Bangle_Bracelet/Sine_Wave/.gemma_m0.test.only @@ -0,0 +1 @@ + diff --git a/NeoPixel_Ring_Bangle_Bracelet/Sine_Wave.ino b/NeoPixel_Ring_Bangle_Bracelet/Sine_Wave/Sine_Wave.ino similarity index 100% rename from NeoPixel_Ring_Bangle_Bracelet/Sine_Wave.ino rename to NeoPixel_Ring_Bangle_Bracelet/Sine_Wave/Sine_Wave.ino diff --git a/NeoPixel_Tiara/.NeoPixel_Tiara.ino.swp b/NeoPixel_Tiara/.NeoPixel_Tiara.ino.swp deleted file mode 100644 index 4834fdb37..000000000 Binary files a/NeoPixel_Tiara/.NeoPixel_Tiara.ino.swp and /dev/null differ diff --git a/NeoPixel_Tiara/.gemma.test.only b/NeoPixel_Tiara/.gemma.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/NeoPixel_Tiara/.gemma.test.only @@ -0,0 +1 @@ + diff --git a/NeoPixel_Tiara/.gemma_m0.test.only b/NeoPixel_Tiara/.gemma_m0.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/NeoPixel_Tiara/.gemma_m0.test.only @@ -0,0 +1 @@ + diff --git a/NeoPixie_Dust_Bag/.gemma.test.only b/NeoPixie_Dust_Bag/.gemma.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/NeoPixie_Dust_Bag/.gemma.test.only @@ -0,0 +1 @@ + diff --git a/NeoPixie_Dust_Bag/.gemma_m0.test.only b/NeoPixie_Dust_Bag/.gemma_m0.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/NeoPixie_Dust_Bag/.gemma_m0.test.only @@ -0,0 +1 @@ + diff --git a/Neotrellis_M4_Live_Launcher/.neotrellis_m4.test.only b/Neotrellis_M4_Live_Launcher/.neotrellis_m4.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/OozeMaster3000/.feather_m0_express.test.only b/OozeMaster3000/.feather_m0_express.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Open_Sesame_SMS_Lock/OpenSesame/.uno.test.only b/Open_Sesame_SMS_Lock/OpenSesame/.uno.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Open_Sesame_SMS_Lock/OpenSesame/.uno.test.only @@ -0,0 +1 @@ + diff --git a/PMS5003_Air_Quality_Sensor/PMS5003_Arduino/.uno.test.only b/PMS5003_Air_Quality_Sensor/PMS5003_Arduino/.uno.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Portable_Trellis_Soundboard/TrellisSound/.protrinket_5v.test.only b/Portable_Trellis_Soundboard/TrellisSound/.protrinket_5v.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Portable_Trellis_Soundboard/TrellisSound/.protrinket_5v.test.only @@ -0,0 +1 @@ + diff --git a/Programmable_Piggy_Bank/piggybank/.uno.test.only b/Programmable_Piggy_Bank/piggybank/.uno.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Programmable_Piggy_Bank/piggybank/.uno.test.only @@ -0,0 +1 @@ + diff --git a/Programmable_Piggy_Bank/piggybank/piggybank.ino b/Programmable_Piggy_Bank/piggybank/piggybank.ino index 070c234e2..a61a6055c 100644 --- a/Programmable_Piggy_Bank/piggybank/piggybank.ino +++ b/Programmable_Piggy_Bank/piggybank/piggybank.ino @@ -5,7 +5,6 @@ // include the library code: #include -#include #include // The shield uses the I2C SCL and SDA pins. On classic Arduinos diff --git a/PyGamer_Bounce_Game/bounce/.pygamer.test.only b/PyGamer_Bounce_Game/bounce/.pygamer.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/PyGamer_Bounce_Game/bounce/.pygamer.test.only @@ -0,0 +1 @@ + diff --git a/PyPortal_ArduinoSelfTest/.pyportal.test.only b/PyPortal_ArduinoSelfTest/.pyportal.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/PyPortal_ArduinoSelfTest/.pyportal.test.only @@ -0,0 +1 @@ + diff --git a/Pybadge_Thermal_Image_Recording/.pybadge.test.only b/Pybadge_Thermal_Image_Recording/.pybadge.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Reflowduino/reflow/.uno.test.only b/Reflowduino/reflow/.uno.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Reflowduino/reflow/.uno.test.only @@ -0,0 +1 @@ + diff --git a/Resin_table_circuitplayground_modes/.cpx_ada.test.only b/Resin_table_circuitplayground_modes/.cpx_ada.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/SD_Basic_GPS_Logger/SD_GPSLogger/.uno.test.only b/SD_Basic_GPS_Logger/SD_GPSLogger/.uno.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/SD_Basic_GPS_Logger/SD_GPSLogger/.uno.test.only @@ -0,0 +1 @@ + diff --git a/SD_Card_Testing_Jig/sdcardtest/.uno.test.only b/SD_Card_Testing_Jig/sdcardtest/.uno.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/SD_Card_Testing_Jig/sdcardtest/.uno.test.only @@ -0,0 +1 @@ + diff --git a/Smart_Toilet_Light/Smart_Toilet_Light_ESP8266/.esp8266.test.only b/Smart_Toilet_Light/Smart_Toilet_Light_ESP8266/.esp8266.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Smart_Toilet_Light/Smart_Toilet_Light_ESP8266/.esp8266.test.only @@ -0,0 +1 @@ + diff --git a/Solar_Charger_Tracker/solartrack/.uno.test.only b/Solar_Charger_Tracker/solartrack/.uno.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Solar_Charger_Tracker/solartrack/.uno.test.only @@ -0,0 +1 @@ + diff --git a/Sound_Reactive_NeoPixel_Peace_Pendant/.Sound_Reactive_NeoPixel_Peace_Pendant.ino.swp b/Sound_Reactive_NeoPixel_Peace_Pendant/.Sound_Reactive_NeoPixel_Peace_Pendant.ino.swp deleted file mode 100644 index becb72a0b..000000000 Binary files a/Sound_Reactive_NeoPixel_Peace_Pendant/.Sound_Reactive_NeoPixel_Peace_Pendant.ino.swp and /dev/null differ diff --git a/Sound_Reactive_NeoPixel_Peace_Pendant/.gemma.test.only b/Sound_Reactive_NeoPixel_Peace_Pendant/.gemma.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Sound_Reactive_NeoPixel_Peace_Pendant/.gemma_m0.test.only b/Sound_Reactive_NeoPixel_Peace_Pendant/.gemma_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Space_Face_LED_Galaxy_Makeup/.gemma.test.only b/Space_Face_LED_Galaxy_Makeup/.gemma.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Space_Face_LED_Galaxy_Makeup/.gemma_m0.test.only b/Space_Face_LED_Galaxy_Makeup/.gemma_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Starduino_8bit_Super_Mario_Tree_Topper/.gemma.test.only b/Starduino_8bit_Super_Mario_Tree_Topper/.gemma.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Starduino_8bit_Super_Mario_Tree_Topper/.gemma_m0.test.only b/Starduino_8bit_Super_Mario_Tree_Topper/.gemma_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Stream_Deck_Message_Panel/MessagePanel/.metro_m4_airliftlite.test.only b/Stream_Deck_Message_Panel/MessagePanel/.metro_m4_airliftlite.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Superhero_Power_Plant/.gemma.test.only b/Superhero_Power_Plant/.gemma.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Superhero_Power_Plant/.gemma_m0.test.only b/Superhero_Power_Plant/.gemma_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/TM_WebUSB_Sorter/.metro_m0_tinyusb.test.only b/TM_WebUSB_Sorter/.metro_m0_tinyusb.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/TalkieTrellis/.neotrellis_m4.test.only b/TalkieTrellis/.neotrellis_m4.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Techno_Tiki_RGB_LED_Torch/Techno_Tiki_Circuit_Playground_Express/.ada_cpx.test.only b/Techno_Tiki_RGB_LED_Torch/Techno_Tiki_Circuit_Playground_Express/.ada_cpx.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Techno_Tiki_RGB_LED_Torch/Techno_Tiki_Circuit_Playground_Express.ino b/Techno_Tiki_RGB_LED_Torch/Techno_Tiki_Circuit_Playground_Express/Techno_Tiki_Circuit_Playground_Express.ino similarity index 100% rename from Techno_Tiki_RGB_LED_Torch/Techno_Tiki_Circuit_Playground_Express.ino rename to Techno_Tiki_RGB_LED_Torch/Techno_Tiki_Circuit_Playground_Express/Techno_Tiki_Circuit_Playground_Express.ino diff --git a/Techno_Tiki_RGB_LED_Torch/Techno_Tiki_No_Remote_Control/.gemma.test.only b/Techno_Tiki_RGB_LED_Torch/Techno_Tiki_No_Remote_Control/.gemma.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Techno_Tiki_RGB_LED_Torch/Techno_Tiki_No_Remote_Control/.gemma_m0.test.only b/Techno_Tiki_RGB_LED_Torch/Techno_Tiki_No_Remote_Control/.gemma_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Techno_Tiki_RGB_LED_Torch/Techno_Tiki_No_Remote_Control.ino b/Techno_Tiki_RGB_LED_Torch/Techno_Tiki_No_Remote_Control/Techno_Tiki_No_Remote_Control.ino similarity index 100% rename from Techno_Tiki_RGB_LED_Torch/Techno_Tiki_No_Remote_Control.ino rename to Techno_Tiki_RGB_LED_Torch/Techno_Tiki_No_Remote_Control/Techno_Tiki_No_Remote_Control.ino diff --git a/Techno_Tiki_RGB_LED_Torch/Techno_Tiki_With_Remote_Control/.gemma.test.only b/Techno_Tiki_RGB_LED_Torch/Techno_Tiki_With_Remote_Control/.gemma.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Techno_Tiki_RGB_LED_Torch/Techno_Tiki_With_Remote_Control.ino b/Techno_Tiki_RGB_LED_Torch/Techno_Tiki_With_Remote_Control/Techno_Tiki_With_Remote_Control.ino similarity index 99% rename from Techno_Tiki_RGB_LED_Torch/Techno_Tiki_With_Remote_Control.ino rename to Techno_Tiki_RGB_LED_Torch/Techno_Tiki_With_Remote_Control/Techno_Tiki_With_Remote_Control.ino index 467be3d6e..557b4a57a 100644 --- a/Techno_Tiki_RGB_LED_Torch/Techno_Tiki_With_Remote_Control.ino +++ b/Techno_Tiki_RGB_LED_Torch/Techno_Tiki_With_Remote_Control/Techno_Tiki_With_Remote_Control.ino @@ -85,7 +85,7 @@ const uint32_t colorPalette[colorCount][colorSteps] PROGMEM = { { 0xFF0000, 0xFF9900, 0xFFFF00, 0x00FF00, 0x0000FF, 0x4B0082, 0x8B00FF, 0xFFFFFF } }; -/ List of animations speeds (in milliseconds). This is how long an animation spends before +// List of animations speeds (in milliseconds). This is how long an animation spends before // changing to the next step. Higher values are slower. const uint16_t speeds[5] = { 400, 200, 100, 50, 25 }; diff --git a/Temperature_GIF_Player/.cpb.test.only b/Temperature_GIF_Player/.cpb.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Textile_Potentiometer_Hoodie/.gemma.test.only b/Textile_Potentiometer_Hoodie/.gemma.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Textile_Potentiometer_Hoodie/.gemma_m0.test.only b/Textile_Potentiometer_Hoodie/.gemma_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/TheThingsNetwork_Feather/ttn-featherm0-dht/.feather_m0_express.test.only b/TheThingsNetwork_Feather/ttn-featherm0-dht/.feather_m0_express.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/TheThingsNetwork_Feather/ttn-featherm0-dht/.feather_m0_express.test.only @@ -0,0 +1 @@ + diff --git a/TheThingsNetwork_Feather/ttn-otaa-feather-us915-dht22-OLED/.feather_m0_express.test.only b/TheThingsNetwork_Feather/ttn-otaa-feather-us915-dht22-OLED/.feather_m0_express.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/TheThingsNetwork_Feather/ttn-otaa-feather-us915-dht22-OLED/.feather_m0_express.test.only @@ -0,0 +1 @@ + diff --git a/Themistor/Example1/.uno.test.only b/Themistor/Example1/.uno.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Themistor/Example1/.uno.test.only @@ -0,0 +1 @@ + diff --git a/Themistor/Example2/.uno.test.only b/Themistor/Example2/.uno.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Themistor/Example2/.uno.test.only @@ -0,0 +1 @@ + diff --git a/Themistor/Example3/.uno.test.only b/Themistor/Example3/.uno.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Themistor/Example3/.uno.test.only @@ -0,0 +1 @@ + diff --git a/Tiny_Music_Visualizer/Piccolo/.uno.test.only b/Tiny_Music_Visualizer/Piccolo/.uno.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Tiny_Music_Visualizer/Piccolo/.uno.test.only @@ -0,0 +1 @@ + diff --git a/Tiny_Music_Visualizer/Piccolo/Piccolo.ino b/Tiny_Music_Visualizer/Piccolo/Piccolo.ino index e445b97ed..abf6d6c25 100644 --- a/Tiny_Music_Visualizer/Piccolo/Piccolo.ino +++ b/Tiny_Music_Visualizer/Piccolo/Piccolo.ino @@ -21,7 +21,7 @@ ffft library is provided under its own terms -- see ffft.S for specifics. // IMPORTANT: FFT_N should be #defined as 128 in ffft.h. #include -#include +#include "ffft.h" #include #include #include diff --git a/Tiny_Music_Visualizer/ffft/ffft.S b/Tiny_Music_Visualizer/Piccolo/ffft.S similarity index 100% rename from Tiny_Music_Visualizer/ffft/ffft.S rename to Tiny_Music_Visualizer/Piccolo/ffft.S diff --git a/Tiny_Music_Visualizer/ffft/ffft.h b/Tiny_Music_Visualizer/Piccolo/ffft.h similarity index 100% rename from Tiny_Music_Visualizer/ffft/ffft.h rename to Tiny_Music_Visualizer/Piccolo/ffft.h diff --git a/Track_Your_Treats/Track_Your_Treats/.uno.test.only b/Track_Your_Treats/Track_Your_Treats/.uno.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Track_Your_Treats/Track_Your_Treats/.uno.test.only @@ -0,0 +1 @@ + diff --git a/Track_Your_Treats/Track_Your_Treats_FONA808/.uno.test.only b/Track_Your_Treats/Track_Your_Treats_FONA808/.uno.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Track_Your_Treats/Track_Your_Treats_FONA808/.uno.test.only @@ -0,0 +1 @@ + diff --git a/Trellis_M4_Synth_Design/Design_Tool_Synth_TrellisM4/.neotrellis_m4.test.only b/Trellis_M4_Synth_Design/Design_Tool_Synth_TrellisM4/.neotrellis_m4.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Trellis_M4_Synth_Design/Design_Tool_Synth_TrellisM4/.neotrellis_m4.test.only @@ -0,0 +1 @@ + diff --git a/Trellis_M4_Synth_Design/ToneSweep_TrellisM4/.neotrellis_m4.test.only b/Trellis_M4_Synth_Design/ToneSweep_TrellisM4/.neotrellis_m4.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Trellis_M4_Synth_Design/ToneSweep_TrellisM4/.neotrellis_m4.test.only @@ -0,0 +1 @@ + diff --git a/Trellis_M4_Synth_Design/Waveform_Mod_TrellisM4/.neotrellis_m4.test.only b/Trellis_M4_Synth_Design/Waveform_Mod_TrellisM4/.neotrellis_m4.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Trellis_M4_Synth_Design/Waveform_Mod_TrellisM4/.neotrellis_m4.test.only @@ -0,0 +1 @@ + diff --git a/Trinket_Gemma_Blinky_Eyes/.gemma.test.only b/Trinket_Gemma_Blinky_Eyes/.gemma.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Trinket_Gemma_IR_Control/IR_reader/.gemma.test.only b/Trinket_Gemma_IR_Control/IR_reader/.gemma.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Trinket_Gemma_IR_Control/IR_reader.ino b/Trinket_Gemma_IR_Control/IR_reader/IR_reader.ino similarity index 100% rename from Trinket_Gemma_IR_Control/IR_reader.ino rename to Trinket_Gemma_IR_Control/IR_reader/IR_reader.ino diff --git a/Trinket_Gemma_IR_Control/Trinket_Gemma_IR_Control/.gemma.test.only b/Trinket_Gemma_IR_Control/Trinket_Gemma_IR_Control/.gemma.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Trinket_Gemma_IR_Control/Trinket_Gemma_IR_Control.ino b/Trinket_Gemma_IR_Control/Trinket_Gemma_IR_Control/Trinket_Gemma_IR_Control.ino similarity index 100% rename from Trinket_Gemma_IR_Control/Trinket_Gemma_IR_Control.ino rename to Trinket_Gemma_IR_Control/Trinket_Gemma_IR_Control/Trinket_Gemma_IR_Control.ino diff --git a/Trinket_Gemma_Mini_Theramin/.gemma.test.only b/Trinket_Gemma_Mini_Theramin/.gemma.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Trinket_Gemma_Mini_Theramin/.gemma_m0.test.only b/Trinket_Gemma_Mini_Theramin/.gemma_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Trinket_Gemma_Servo_Control/.gemma.test.only b/Trinket_Gemma_Servo_Control/.gemma.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Trinket_Gemma_Space_Invader_Pendant/.gemma.test.only b/Trinket_Gemma_Space_Invader_Pendant/.gemma.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Trinket_Modded_Stuffed_Animal/.gemma.test.only b/Trinket_Modded_Stuffed_Animal/.gemma.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Trinket_Pro_Fire_Pendant/FirePendant/.protrinket_5v.test.only b/Trinket_Pro_Fire_Pendant/FirePendant/.protrinket_5v.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/Trinket_Pro_Fire_Pendant/FirePendant/.protrinket_5v.test.only @@ -0,0 +1 @@ + diff --git a/Trinket_Question_Block_Sound_Jewelry/.gemma.test.only b/Trinket_Question_Block_Sound_Jewelry/.gemma.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Trinket_React_Counter/TrinketReactCounter_14segment/.gemma.test.only b/Trinket_React_Counter/TrinketReactCounter_14segment/.gemma.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Trinket_React_Counter/TrinketReactCounter_7segment/.gemma.test.only b/Trinket_React_Counter/TrinketReactCounter_7segment/.gemma.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Trinket_Ultrasonic_Rangefinder/.gemma.test.only b/Trinket_Ultrasonic_Rangefinder/.gemma.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Trinket_Ultrasonic_Rangefinder/.gemma_m0.test.only b/Trinket_Ultrasonic_Rangefinder/.gemma_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Twitch_On_Air_Sign/ESP8266_OnAirSign/.esp8266.test.only b/Twitch_On_Air_Sign/ESP8266_OnAirSign/.esp8266.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Twitch_On_Air_Sign/WINC1500_OnAirSign/.feather_m0_express.test.only b/Twitch_On_Air_Sign/WINC1500_OnAirSign/.feather_m0_express.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Twitch_On_Air_Sign/WINC1500_OnAirSign/WINC1500_OnAirSign.ino b/Twitch_On_Air_Sign/WINC1500_OnAirSign/WINC1500_OnAirSign.ino index ba9948c8c..22dc6e065 100644 --- a/Twitch_On_Air_Sign/WINC1500_OnAirSign/WINC1500_OnAirSign.ino +++ b/Twitch_On_Air_Sign/WINC1500_OnAirSign/WINC1500_OnAirSign.ino @@ -1,5 +1,5 @@ #include -#include +#include #include #define PIN 12 @@ -16,12 +16,6 @@ Adafruit_NeoPixel strip = Adafruit_NeoPixel(30, PIN, NEO_GRBW + NEO_KHZ800); #define LED 13 -// Setup the WINC1500 connection with the pins above and the default hardware SPI. -Adafruit_WINC1500 WiFi(WINC_CS, WINC_IRQ, WINC_RST); - -// Or just use hardware SPI (SCK/MOSI/MISO) and defaults, SS -> #10, INT -> #7, RST -> #5, EN -> 3-5V -//Adafruit_WINC1500 WiFi; - char ssid[] = "ssid"; // your network SSID (name) char pass[] = "password"; // your network password (use for WPA, or use as key for WEP) int keyIndex = 0; // your network key Index number (needed only for WEP) @@ -31,7 +25,7 @@ int status = WL_IDLE_STATUS; #define PATH "/kraken/streams/adafruit" #define REFRESH 20 // seconds between refresh -Adafruit_WINC1500SSLClient client; +WiFiSSLClient client; // Fill the dots one after the other with a color void colorWipe(uint32_t c, uint8_t wait) { @@ -47,13 +41,14 @@ void setup() { pinMode(WINC_EN, OUTPUT); digitalWrite(WINC_EN, HIGH); #endif + WiFi.setPins(WINC_CS, WINC_IRQ, WINC_RST); pinMode(LED, OUTPUT); //Initialize serial and wait for port to open: Serial.begin(9600); -strip.begin(); + strip.begin(); // check for the presence of the shield: if (WiFi.status() == WL_NO_SHIELD) { diff --git a/USB_NeXT_Keyboard/USB_NeXT_Keyboard/.feather32u4.test.only b/USB_NeXT_Keyboard/USB_NeXT_Keyboard/.feather32u4.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/USB_NeXT_Keyboard/USB_NeXT_Keyboard/USB_NeXT_Keyboard.ino b/USB_NeXT_Keyboard/USB_NeXT_Keyboard/USB_NeXT_Keyboard.ino index 082bd60b7..5bd280a08 100644 --- a/USB_NeXT_Keyboard/USB_NeXT_Keyboard/USB_NeXT_Keyboard.ino +++ b/USB_NeXT_Keyboard/USB_NeXT_Keyboard/USB_NeXT_Keyboard.ino @@ -10,6 +10,7 @@ #include "wsksymdef.h" #include "nextkeyboard.h" +#include // the timing per bit, 50microseconds #define TIMING 50 diff --git a/USB_SNES_Gamepad/teensySNES_Portal/.teensy2.test.only b/USB_SNES_Gamepad/teensySNES_Portal/.teensy2.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/USB_SNES_Gamepad/teensySNES_onebutton/.teensy2.test.only b/USB_SNES_Gamepad/teensySNES_onebutton/.teensy2.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/USB_SNES_Gamepad/teensySNES_stellakey/.teensy2.test.only b/USB_SNES_Gamepad/teensySNES_stellakey/.teensy2.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/USB_SNES_Gamepad/teensySNES_test1/.teensy2.test.only b/USB_SNES_Gamepad/teensySNES_test1/.teensy2.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/USB_SNES_Gamepad/teensySNES_test2/.teensy2.test.only b/USB_SNES_Gamepad/teensySNES_test2/.teensy2.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/UnicornHorn_CapacitiveTouch/.gemma_m0.test.only b/UnicornHorn_CapacitiveTouch/.gemma_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/Wearable_BLE_Temperature_Monitor/.nrf52840.test.only b/Wearable_BLE_Temperature_Monitor/.nrf52840.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/adafruitio-adt7410/.esp8266.test.only b/adafruitio-adt7410/.esp8266.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/adafruitio-temp-motion-wing/.esp8266.test.only b/adafruitio-temp-motion-wing/.esp8266.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/adalogger/.uno.test.only b/adalogger/.uno.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/arduino_libinstall b/arduino_libinstall deleted file mode 100755 index 11d77eb59..000000000 --- a/arduino_libinstall +++ /dev/null @@ -1,164 +0,0 @@ -#!/bin/bash - -echo "Cached Arduino libraries:" -ls -l "$HOME/Arduino/libraries" - -echo "Installing libraries:" -[ ! -d $HOME/Arduino/libraries/FastLED ] && arduino --install-library "FastLED" -[ ! -d $HOME/Arduino/libraries/MIDIUSB ] && arduino --install-library "MIDIUSB" -[ ! -d $HOME/Arduino/libraries/TinyWireM ] && arduino --install-library "TinyWireM" - -# These are generated: -[ ! -d $HOME/Arduino/libraries/Adafruit_ADS1X15 ] && arduino --install-library "Adafruit ADS1X15" -[ ! -d $HOME/Arduino/libraries/Adafruit_ADXL345 ] && arduino --install-library "Adafruit ADXL345" -[ ! -d $HOME/Arduino/libraries/Adafruit_AHRS ] && arduino --install-library "Adafruit AHRS" -[ ! -d $HOME/Arduino/libraries/Adafruit_AM2315 ] && arduino --install-library "Adafruit AM2315" -[ ! -d $HOME/Arduino/libraries/Adafruit_AM2320_sensor_library ] && arduino --install-library "Adafruit AM2320 sensor library" -[ ! -d $HOME/Arduino/libraries/Adafruit_AMG88xx_Library ] && arduino --install-library "Adafruit AMG88xx Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_AM_radio_library ] && arduino --install-library "Adafruit AM radio library" -[ ! -d $HOME/Arduino/libraries/Adafruit_APDS9960_Library ] && arduino --install-library "Adafruit APDS9960 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_Arcada ] && arduino --install-library "Adafruit Arcada Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_BLEFirmata ] && arduino --install-library "Adafruit BLEFirmata" -[ ! -d $HOME/Arduino/libraries/Adafruit_BluefruitLE_nRF51 ] && arduino --install-library "Adafruit BluefruitLE nRF51" -[ ! -d $HOME/Arduino/libraries/Adafruit_BME280_Library ] && arduino --install-library "Adafruit BME280 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_BME680_Library ] && arduino --install-library "Adafruit BME680 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_BMP085_Library ] && arduino --install-library "Adafruit BMP085 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_BMP085_Unified ] && arduino --install-library "Adafruit BMP085 Unified" -[ ! -d $HOME/Arduino/libraries/Adafruit_BMP183_Library ] && arduino --install-library "Adafruit BMP183 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_BMP183_Unified_Library ] && arduino --install-library "Adafruit BMP183 Unified Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_BMP280_Library ] && arduino --install-library "Adafruit BMP280 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_BMP3XX_Library ] && arduino --install-library "Adafruit BMP3XX Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_BNO055 ] && arduino --install-library "Adafruit BNO055" -[ ! -d $HOME/Arduino/libraries/Adafruit_CAP1188_Library ] && arduino --install-library "Adafruit CAP1188 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_CC3000_Library ] && arduino --install-library "Adafruit CC3000 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_CCS811_Library ] && arduino --install-library "Adafruit CCS811 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_Circuit_Playground ] && arduino --install-library "Adafruit Circuit Playground" -[ ! -d $HOME/Arduino/libraries/Adafruit_composite_video_Library ] && arduino --install-library "Adafruit composite video Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_DAP_library ] && arduino --install-library "Adafruit DAP library" -[ ! -d $HOME/Arduino/libraries/Adafruit_DMA_neopixel_library ] && arduino --install-library "Adafruit DMA neopixel library" -[ ! -d $HOME/Arduino/libraries/Adafruit_DotStar ] && arduino --install-library "Adafruit DotStar" -[ ! -d $HOME/Arduino/libraries/Adafruit_DRV2605_Library ] && arduino --install-library "Adafruit DRV2605 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_EPD ] && arduino --install-library "Adafruit EPD" -[ ! -d $HOME/Arduino/libraries/Adafruit_ESP8266 ] && arduino --install-library "Adafruit ESP8266" -[ ! -d $HOME/Arduino/libraries/Adafruit_Fingerprint_Sensor_Library ] && arduino --install-library "Adafruit Fingerprint Sensor Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_Flora_Pixel_Library ] && arduino --install-library "Adafruit Flora Pixel Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_FONA_Library ] && arduino --install-library "Adafruit FONA Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_FRAM_I2C ] && arduino --install-library "Adafruit FRAM I2C" -[ ! -d $HOME/Arduino/libraries/Adafruit_FRAM_SPI ] && arduino --install-library "Adafruit FRAM SPI" -[ ! -d $HOME/Arduino/libraries/Adafruit_FreeTouch_Library ] && arduino --install-library "Adafruit FreeTouch Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_FT6206_Library ] && arduino --install-library "Adafruit FT6206 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_FXAS21002C ] && arduino --install-library "Adafruit FXAS21002C" -[ ! -d $HOME/Arduino/libraries/Adafruit_FXOS8700 ] && arduino --install-library "Adafruit FXOS8700" -[ ! -d $HOME/Arduino/libraries/Adafruit_GFX_Library ] && arduino --install-library "Adafruit GFX Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_GPS_Library ] && arduino --install-library "Adafruit GPS Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_Graphic_VFD_Display_Library ] && arduino --install-library "Adafruit Graphic VFD Display Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_HDC1000_Library ] && arduino --install-library "Adafruit HDC1000 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_HMC5883_Unified ] && arduino --install-library "Adafruit HMC5883 Unified" -[ ! -d $HOME/Arduino/libraries/Adafruit_HTU21DF_Library ] && arduino --install-library "Adafruit HTU21DF Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_HX8340B ] && arduino --install-library "Adafruit HX8340B" -[ ! -d $HOME/Arduino/libraries/Adafruit_HX8357_Library ] && arduino --install-library "Adafruit HX8357 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_ILI9341 ] && arduino --install-library "Adafruit ILI9341" -[ ! -d $HOME/Arduino/libraries/Adafruit_ImageReader_Library ] && arduino --install-library "Adafruit ImageReader Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_INA219 ] && arduino --install-library "Adafruit INA219" -[ ! -d $HOME/Arduino/libraries/Adafruit_IO_Arduino ] && arduino --install-library "Adafruit IO Arduino" -[ ! -d $HOME/Arduino/libraries/Adafruit_IS31FL3731_Library ] && arduino --install-library "Adafruit IS31FL3731 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_JSON ] && arduino --install-library "Adafruit JSON Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_Keypad ] && arduino --install-library "Adafruit Keypad" -[ ! -d $HOME/Arduino/libraries/Adafruit_L3GD20_U ] && arduino --install-library "Adafruit L3GD20 U" -[ ! -d $HOME/Arduino/libraries/Adafruit_LED_Backpack_Library ] && arduino --install-library "Adafruit LED Backpack Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_LiquidCrystal ] && arduino --install-library "Adafruit LiquidCrystal" -[ ! -d $HOME/Arduino/libraries/Adafruit_LIS3DH ] && arduino --install-library "Adafruit LIS3DH" -[ ! -d $HOME/Arduino/libraries/Adafruit_LSM303DLHC ] && arduino --install-library "Adafruit LSM303DLHC" -[ ! -d $HOME/Arduino/libraries/Adafruit_LSM9DS0_Library ] && arduino --install-library "Adafruit LSM9DS0 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_LSM9DS1_Library ] && arduino --install-library "Adafruit LSM9DS1 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_MAX31855_library ] && arduino --install-library "Adafruit MAX31855 library" -[ ! -d $HOME/Arduino/libraries/Adafruit_MAX31856_library ] && arduino --install-library "Adafruit MAX31856 library" -[ ! -d $HOME/Arduino/libraries/Adafruit_MAX31865_library ] && arduino --install-library "Adafruit MAX31865 library" -[ ! -d $HOME/Arduino/libraries/Adafruit_MCP23008_library ] && arduino --install-library "Adafruit MCP23008 library" -[ ! -d $HOME/Arduino/libraries/Adafruit_MCP23017_Arduino_Library ] && arduino --install-library "Adafruit MCP23017 Arduino Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_MCP3008 ] && arduino --install-library "Adafruit MCP3008" -[ ! -d $HOME/Arduino/libraries/Adafruit_MCP4725 ] && arduino --install-library "Adafruit MCP4725" -[ ! -d $HOME/Arduino/libraries/Adafruit_MCP9808_Library ] && arduino --install-library "Adafruit MCP9808 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_MFRC630_RFID ] && arduino --install-library "Adafruit MFRC630 RFID" -[ ! -d $HOME/Arduino/libraries/Adafruit_microbit_Library ] && arduino --install-library "Adafruit microbit Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_MiniMLX90614 ] && arduino --install-library "Adafruit MiniMLX90614" -[ ! -d $HOME/Arduino/libraries/Adafruit_MLX90614_Library ] && arduino --install-library "Adafruit MLX90614 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_MMA8451_Library ] && arduino --install-library "Adafruit MMA8451 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_Motor_Shield_library ] && arduino --install-library "Adafruit Motor Shield library" -[ ! -d $HOME/Arduino/libraries/Adafruit_Motor_Shield_V2_Library ] && arduino --install-library "Adafruit Motor Shield V2 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_mp3 ] && arduino --install-library "Adafruit_mp3" -[ ! -d $HOME/Arduino/libraries/Adafruit_MPL115A2 ] && arduino --install-library "Adafruit MPL115A2" -[ ! -d $HOME/Arduino/libraries/Adafruit_MPL3115A2_Library ] && arduino --install-library "Adafruit MPL3115A2 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_MPR121 ] && arduino --install-library "Adafruit MPR121" -[ ! -d $HOME/Arduino/libraries/Adafruit_MPRLS_Library ] && arduino --install-library "Adafruit MPRLS Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_MQTT_Library ] && arduino --install-library "Adafruit MQTT Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_NeoMatrix ] && arduino --install-library "Adafruit NeoMatrix" -[ ! -d $HOME/Arduino/libraries/Adafruit_NeoMatrix_ZeroDMA_library ] && arduino --install-library "Adafruit NeoMatrix ZeroDMA library" -[ ! -d $HOME/Arduino/libraries/Adafruit_NeoPixel ] && arduino --install-library "Adafruit NeoPixel" -[ ! -d $HOME/Arduino/libraries/Adafruit_NeoPXL8 ] && arduino --install-library "Adafruit NeoPXL8" -[ ! -d $HOME/Arduino/libraries/Adafruit_NeoTrellis_M4_Library ] && arduino --install-library "Adafruit NeoTrellis M4 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_nRF8001 ] && arduino --install-library "Adafruit nRF8001" -[ ! -d $HOME/Arduino/libraries/Adafruit_PCD8544_Nokia_5110_LCD_library ] && arduino --install-library "Adafruit PCD8544 Nokia 5110 LCD library" -[ ! -d $HOME/Arduino/libraries/Adafruit_PN532 ] && arduino --install-library "Adafruit PN532" -[ ! -d $HOME/Arduino/libraries/Adafruit_PS2_Trackpad ] && arduino --install-library "Adafruit PS2 Trackpad" -[ ! -d $HOME/Arduino/libraries/Adafruit_PWM_Servo_Driver_Library ] && arduino --install-library "Adafruit PWM Servo Driver Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_QSPI ] && arduino --install-library "Adafruit QSPI" -[ ! -d $HOME/Arduino/libraries/Adafruit_RA8875 ] && arduino --install-library "Adafruit RA8875" -[ ! -d $HOME/Arduino/libraries/Adafruit_RGB_LCD_Shield_Library ] && arduino --install-library "Adafruit RGB LCD Shield Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_seesaw_Library ] && arduino --install-library "Adafruit seesaw Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_SGP30_Sensor ] && arduino --install-library "Adafruit SGP30 Sensor" -[ ! -d $HOME/Arduino/libraries/Adafruit_SHARP_Memory_Display ] && arduino --install-library "Adafruit SHARP Memory Display" -[ ! -d $HOME/Arduino/libraries/Adafruit_SHT31_Library ] && arduino --install-library "Adafruit SHT31 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_SI1145_Library ] && arduino --install-library "Adafruit SI1145 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_Si4713_Library ] && arduino --install-library "Adafruit Si4713 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_Si5351_Library ] && arduino --install-library "Adafruit Si5351 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_Si7021_Library ] && arduino --install-library "Adafruit Si7021 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_SleepyDog_Library ] && arduino --install-library "Adafruit SleepyDog Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_SoftServo ] && arduino --install-library "Adafruit SoftServo" -[ ! -d $HOME/Arduino/libraries/Adafruit_Soundboard_library ] && arduino --install-library "Adafruit Soundboard library" -[ ! -d $HOME/Arduino/libraries/Adafruit_SPIFlash ] && arduino --install-library "Adafruit SPIFlash" -[ ! -d $HOME/Arduino/libraries/Adafruit_SSD1306 ] && arduino --install-library "Adafruit SSD1306" -[ ! -d $HOME/Arduino/libraries/Adafruit_SSD1306_Wemos_Mini_OLED ] && arduino --install-library "Adafruit SSD1306 Wemos Mini OLED" -[ ! -d $HOME/Arduino/libraries/Adafruit_SSD1325 ] && arduino --install-library "Adafruit SSD1325" -[ ! -d $HOME/Arduino/libraries/Adafruit_SSD1331_OLED_Driver_Library_for_Arduino ] && arduino --install-library "Adafruit SSD1331 OLED Driver Library for Arduino" -[ ! -d $HOME/Arduino/libraries/Adafruit_SSD1351_library ] && arduino --install-library "Adafruit SSD1351 library" -[ ! -d $HOME/Arduino/libraries/Adafruit_ST7735_and_ST7789_Library ] && arduino --install-library "Adafruit ST7735 and ST7789 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_STMPE610 ] && arduino --install-library "Adafruit STMPE610" -[ ! -d $HOME/Arduino/libraries/Adafruit_TCS34725 ] && arduino --install-library "Adafruit TCS34725" -[ ! -d $HOME/Arduino/libraries/Adafruit_Thermal_Printer_Library ] && arduino --install-library "Adafruit Thermal Printer Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_TiCoServo ] && arduino --install-library "Adafruit TiCoServo" -[ ! -d $HOME/Arduino/libraries/Adafruit_TinyFlash ] && arduino --install-library "Adafruit TinyFlash" -[ ! -d $HOME/Arduino/libraries/Adafruit_TinyRGBLCDShield ] && arduino --install-library "Adafruit TinyRGBLCDShield" -[ ! -d $HOME/Arduino/libraries/Adafruit_TLC5947 ] && arduino --install-library "Adafruit TLC5947" -[ ! -d $HOME/Arduino/libraries/Adafruit_TLC59711 ] && arduino --install-library "Adafruit TLC59711" -[ ! -d $HOME/Arduino/libraries/Adafruit_TMP006 ] && arduino --install-library "Adafruit TMP006" -[ ! -d $HOME/Arduino/libraries/Adafruit_TMP007_Library ] && arduino --install-library "Adafruit TMP007 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_TouchScreen ] && arduino --install-library "Adafruit TouchScreen" -[ ! -d $HOME/Arduino/libraries/Adafruit_TPA2016_Library ] && arduino --install-library "Adafruit TPA2016 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_Trellis_Library ] && arduino --install-library "Adafruit Trellis Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_TSL2561 ] && arduino --install-library "Adafruit TSL2561" -[ ! -d $HOME/Arduino/libraries/Adafruit_TSL2591_Library ] && arduino --install-library "Adafruit TSL2591 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_Unified_Sensor ] && arduino --install-library "Adafruit Unified Sensor" -[ ! -d $HOME/Arduino/libraries/Adafruit_UNTZtrument ] && arduino --install-library "Adafruit UNTZtrument" -[ ! -d $HOME/Arduino/libraries/Adafruit_VC0706_Serial_Camera_Library ] && arduino --install-library "Adafruit VC0706 Serial Camera Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_VCNL4010 ] && arduino --install-library "Adafruit_VCNL4010" -[ ! -d $HOME/Arduino/libraries/Adafruit_VEML6070_Library ] && arduino --install-library "Adafruit VEML6070 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_VEML6075_Library ] && arduino --install-library "Adafruit VEML6075 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_VL53L0X ] && arduino --install-library "Adafruit_VL53L0X" -[ ! -d $HOME/Arduino/libraries/Adafruit_VL6180X ] && arduino --install-library "Adafruit_VL6180X" -[ ! -d $HOME/Arduino/libraries/Adafruit_VS1053_Library ] && arduino --install-library "Adafruit VS1053 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_WS2801_Library ] && arduino --install-library "Adafruit WS2801 Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_Zero_DMA_Library ] && arduino --install-library "Adafruit Zero DMA Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_Zero_FFT_Library ] && arduino --install-library "Adafruit Zero FFT Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_Zero_I2S_Library ] && arduino --install-library "Adafruit Zero I2S Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_Zero_PDM_Library ] && arduino --install-library "Adafruit Zero PDM Library" -[ ! -d $HOME/Arduino/libraries/Adafruit_ZeroTimer_Library ] && arduino --install-library "Adafruit ZeroTimer Library" -[ ! -d $HOME/Arduino/libraries/ArduinoHttpClient ] && arduino --install-library "ArduinoHttpClient" -[ ! -d $HOME/Arduino/libraries/RGB_matrix_Panel ] && arduino --install-library "RGB matrix Panel" -[ ! -d $HOME/Arduino/libraries/SdFat ] && arduino --install-library "SdFat" -[ ! -d $HOME/Arduino/libraries/U8g2_for_Adafruit_GFX ] && arduino --install-library "U8g2_for_Adafruit_GFX" -[ ! -d $HOME/Arduino/libraries/Wemos_Matrix_Adafruit_GFX ] && arduino --install-library "Wemos Matrix Adafruit GFX" -[ ! -d $HOME/Arduino/libraries/WaveHC ] && arduino --install-library "WaveHC" -[ ! -d $HOME/Arduino/libraries/WiFiNiNa ] && git clone https://github.com/adafruit/WiFiNiNa $HOME/Arduino/libraries/WiFiNiNa - -exit 0 diff --git a/color_touch_pendant/.gemma_m0.test.only b/color_touch_pendant/.gemma_m0.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/fauxmo_guide/fauxmo-basic/.esp8266.test.only b/fauxmo_guide/fauxmo-basic/.esp8266.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/fauxmo_guide/fauxmo-basic.ino b/fauxmo_guide/fauxmo-basic/fauxmo-basic.ino similarity index 98% rename from fauxmo_guide/fauxmo-basic.ino rename to fauxmo_guide/fauxmo-basic/fauxmo-basic.ino index 9db6a00da..9d604b1a1 100644 --- a/fauxmo_guide/fauxmo-basic.ino +++ b/fauxmo_guide/fauxmo-basic/fauxmo-basic.ino @@ -1,5 +1,6 @@ #include #include +#include #include "fauxmoESP.h" #define WIFI_SSID "YOUR_SSID" @@ -66,4 +67,4 @@ void setup() { void loop() { fauxmo.handle(); -} \ No newline at end of file +} diff --git a/fauxmo_guide/fauxmo-relay-neopixel/.esp8266.test.only b/fauxmo_guide/fauxmo-relay-neopixel/.esp8266.test.only new file mode 100644 index 000000000..e69de29bb diff --git a/fauxmo_guide/fauxmo-relay-neopixel.ino b/fauxmo_guide/fauxmo-relay-neopixel/fauxmo-relay-neopixel.ino similarity index 100% rename from fauxmo_guide/fauxmo-relay-neopixel.ino rename to fauxmo_guide/fauxmo-relay-neopixel/fauxmo-relay-neopixel.ino diff --git a/library.deps b/library.deps new file mode 100644 index 000000000..f247219b5 --- /dev/null +++ b/library.deps @@ -0,0 +1 @@ +depends=Adafruit ILI9341, Adafruit BusIO, SD, Adafruit NeoPixel, Adafruit VS1053 Library, Adafruit BluefruitLE nRF51, Adafruit seesaw Library, Ethernet, Adafruit IO Arduino, Adafruit LSM303, FastLED, Adafruit LiquidCrystal, Adafruit SoftServo, TinyWireM, Adafruit AM radio library, WaveHC, Adafruit LED Backpack Library, MAX31850 OneWire, Adafruit VC0706 Serial Camera Library, RTClib, Adafruit SleepyDog Library, Adafruit Thermal Printer Library, Adafruit Zero I2S Library, Adafruit EPD, Adafruit SSD1351 library, Adafruit FONA Library, Adafruit Motor Shield V2 Library, Adafruit NeoMatrix, Adafruit Soundboard library, Adafruit Circuit Playground, MIDI, ArduinoJson, Adafruit TCS34725, Adafruit Pixie, Adafruit GPS Library, TinyGPS, WiFi101, Adafruit DotStar, Adafruit Si7021 Library, Adafruit WS2801 Library, Mouse, Keyboard, Time, IRremote, Adafruit LSM9DS0 Library, Adafruit Arcada Library, MIDIUSB, PubSubClient, Adafruit LIS2MDL, Adafruit NeoPXL8, Adafruit MCP23017 Arduino Library, Adafruit MLX90640, LiquidCrystal, Adafruit NeoTrellis M4 Library, RGB matrix Panel, Adafruit MLX90614 Library, Adafruit RGB LCD Shield Library, MAX6675 library, Adafruit_mp3, Adafruit Keypad, Adafruit Arcada GifDecoder, Keypad, Neosegment, Encoder, Adafruit TiCoServo, Adafruit Trellis Library, FauxmoESP, Adafruit LSM303 Accel, Adafruit LSM303DLH Mag, CapacitiveSensor, Adafruit Zero PDM Library, Adafruit DMA neopixel library, elapsedMillis, MCCI Arduino LMIC library \ No newline at end of file diff --git a/neoMatrixMkI/.uno.test.only b/neoMatrixMkI/.uno.test.only new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/neoMatrixMkI/.uno.test.only @@ -0,0 +1 @@ + diff --git a/simple_strand_palettes/.cpx_ada.test.only b/simple_strand_palettes/.cpx_ada.test.only new file mode 100644 index 000000000..e69de29bb