This file contains 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
.PHONY: install | |
install: | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" && \ | |
brew install redis && \ | |
brew install php && \ | |
brew install php@7.2 && \ | |
brew install php@7.4 && \ | |
brew install brew-php-switcher && \ | |
brew install node && \ | |
brew install composer && \ |
This file contains 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 <Wire.h> | |
#include <Adafruit_ADS1015.h> | |
#include "DigiKeyboard.h" | |
Adafruit_ADS1115 ads; | |
void setup(void) | |
{ | |
Serial.begin(9600); | |
ads.begin(); |
This file contains 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 SER_Pin = 9; //pin 14 on the 75HC595 | |
int RCLK_Pin = 10; //pin 12 on the 75HC595 | |
int SRCLK_Pin = 11; //pin 11 on the 75HC595 | |
#define number_of_74hc595s 1 //How many of the shift registers - change this | |
#define numOfRegisterPins number_of_74hc595s * 8 //do not touch | |
boolean registers[numOfRegisterPins]; | |
unsigned long nextStep = 0; | |
unsigned long timer = 0; |
This file contains 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
//Declare CD4021 Pins | |
int __cd4021b_latchPin = 8; | |
int __cd4021b_dataPin = 9; | |
int __cd4021b_clockPin = 7; | |
void setup() { | |
//Start Serial Communication | |
Serial.begin(9600); | |
//Set pinMode of CD4021BCN |
This file contains 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 SER_Pin = 9; //pin 14 on the 75HC595 | |
int RCLK_Pin = 10; //pin 12 on the 75HC595 | |
int SRCLK_Pin = 11; //pin 11 on the 75HC595 | |
#define number_of_74hc595s 2 //How many of the shift registers - change this | |
#define numOfRegisterPins number_of_74hc595s * 8 //do not touch | |
boolean registers[numOfRegisterPins]; | |
void setup(){ | |
pinMode(SER_Pin, OUTPUT); |
This file contains 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 SER_Pin = 9; //pin 14 on the 75HC595 | |
int RCLK_Pin = 10; //pin 12 on the 75HC595 | |
int SRCLK_Pin = 11; //pin 11 on the 75HC595 | |
//How many of the shift registers - change this | |
#define number_of_74hc595s 2 | |
//do not touch | |
#define numOfRegisterPins number_of_74hc595s * 8 |
This file contains 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 ldrArr[2][8]; | |
int port[2]; | |
int portLength = 2; | |
void setup(){ | |
DDRB = DDRB | B00000111; | |
Serial.begin(9600); | |
port[0] = 0; | |
port[1] = 1; | |
} |
This file contains 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
/* | |
* Author : Roald Joosen | |
* Project : OFFCENTRE, Jerrycan Lighting | |
* Date : 10 Sept, 2011 | |
* | |
*/ | |
int seqSelected; | |
int timerNext; | |
int timerSpeed; |
This file contains 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
/* ------------------------------------------------------------------------------------------------ | |
* Cynaptic Collective - Veins Basic v1.0 | |
* | |
* Project : Veins | |
* Client : Melkweg Amsterdam / OffCentre 2012 / Deframe Collective | |
* Author : Roald Joosen | |
* Start date : 21 aug 2012 | |
* End date : 16 sept 2012 | |
* | |
* ------------------------------------------------------------------------------------------------ */ |
NewerOlder