This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // the regular Adafruit "TouchScreen.h" library only works on AVRs | |
| // different mcufriend shields have Touchscreen on different pins | |
| // and rotation. | |
| // Run the TouchScreen_Calibr_native sketch for calibration of your shield | |
| #include <MCUFRIEND_kbv.h> | |
| MCUFRIEND_kbv tft; // hard-wired for UNO shields anyway. | |
| #include <TouchScreen.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Arduino.h> | |
| /* | |
| Udp NTP Client | |
| Get the time from a Network Time Protocol (NTP) time server | |
| Demonstrates use of UDP sendPacket and ReceivePacket | |
| For more on NTP time servers and the messages needed to communicate with them, | |
| see http://en.wikipedia.org/wiki/Network_Time_Protocol |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* -------------------------------------------------------------------------- */ | |
| /* WS2815 using UNO by Modulemore.com */ | |
| /* -------------------------------------------------------------------------- */ | |
| /* --------------------------------- Pinout --------------------------------- */ | |
| // UNO ---- WS2815 | |
| // D2 DI | |
| // GND GND | |
| #include <Arduino.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Tobin Fricke's implementation of the | |
| Hoshen-Kopelman algorithm for | |
| cluster labeling. | |
| Copyright (c) September 9, 2000, by Tobin Fricke <fricke@gmail.com> | |
| Modified 2002-03-09 Tobin Fricke | |
| Modified substantially 2004-04-21 by Tobin Fricke | |
| This program is written in the 1999 standard of the C language (C99). Older C |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int redPin = 6; | |
| int greenPin = 5; | |
| int bluePin = 9; | |
| float col[3]; | |
| float hue = 0.0; | |
| void setup() { | |
| pinMode(redPin, OUTPUT); | |
| pinMode(greenPin, OUTPUT); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Copyright (c) 2014, Jan Winkler <winkler@cs.uni-bremen.de> | |
| // All rights reserved. | |
| // | |
| // Redistribution and use in source and binary forms, with or without | |
| // modification, are permitted provided that the following conditions are met: | |
| // | |
| // * Redistributions of source code must retain the above copyright | |
| // notice, this list of conditions and the following disclaimer. | |
| // * Redistributions in binary form must reproduce the above copyright | |
| // notice, this list of conditions and the following disclaimer in the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /************************************************************* | |
| * * | |
| * Visual servoing control unit * | |
| * (Manual mode) * | |
| * * | |
| ************************************************************/ | |
| /* -------------------------------------------------------------------------- */ | |
| /* Library */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Project Adalight FastLED | |
| * @author David Madison | |
| * @link github.com/dmadison/Adalight-FastLED | |
| * @license LGPL - Copyright (c) 2017 David Madison | |
| * | |
| * This program 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 3 of the License, or | |
| * (at your option) any later version. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Arduino.h> | |
| #include <Fsm.h> | |
| #include <WiFi.h> | |
| #include "macro.h" | |
| #include "config.h" | |
| #include "modules/siren.h" | |
| #include "modules/switch_sensor.h" | |
| #include "modules/smoke_sensor.h" | |
| #include "modules/temp_humid.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Project Adalight FastLED | |
| * @author David Madison | |
| * @link github.com/dmadison/Adalight-FastLED | |
| * @license LGPL - Copyright (c) 2017 David Madison | |
| * | |
| * This program 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 3 of the License, or | |
| * (at your option) any later version. |