Skip to content

Instantly share code, notes, and snippets.

View thathollywood's full-sized avatar
🎯
Focusing

Martin Hollywood thathollywood

🎯
Focusing
View GitHub Profile
@basham
basham / nodejs-rfid.js
Last active May 1, 2024 12:56
Use NodeJS to read RFID ids through the USB serial stream.
/*
DESCRIPTION
-----------
Use NodeJS to read RFID ids through the USB serial stream. Code derived from this forum:
http://groups.google.com/group/nodejs/browse_thread/thread/e2b071b6a70a6eb1/086ec7fcb5036699
CODE REPOSITORY
---------------
https://gist.github.com/806605
@jeje
jeje / RGB_LED_Strip_Mosfet_Temp.ino
Last active October 29, 2015 17:22
RGB LED Strip controlled by an Arduino with the help of MOSFETs and DS18B20 temperature sensor
// HSV fade/bounce for Arduino - scruss.com - 2010/09/12
// Note that there's some legacy code left in here which seems to do nothing
// but should do no harm ...
#include "OneWire.h"
//#include "Streaming.h"
const int DS18S20_Pin = 2; //DS18S20 Signal pin on digital 2
#define MIN_TEMP 18
#define MAX_TEMP 30
@loadedsith
loadedsith / twitter sender
Last active December 14, 2015 16:19
processing twitter sender
/*
Just a simple Processing and Twitter thingy majiggy
RobotGrrl.com
Code licensed under:
CC-BY
*/
@obstschale
obstschale / octave.md
Last active June 8, 2024 19:46
An Octave introduction cheat sheet.
if (!Function.prototype.bind) {
Function.prototype.bind = function (oThis) {
if (typeof this !== "function") {
// closest thing possible to the ECMAScript 5
// internal IsCallable function
throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");
}
var aArgs = Array.prototype.slice.call(arguments, 1),
fToBind = this,

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Pull Request Process

  1. Ensure any install or build dependencies are removed before the end of the layer when doing a
@suhajdab
suhajdab / rfid-node.ino
Last active March 27, 2022 16:21
Particle Photon + RC522 RFID implant reader
#include "MFRC522/MFRC522.h"
/*
Function Core Pin MRFC522 Pin
Reset D2 RST
SPI SS D1 SDA
SPI MOSI A5 MOSI
SPI MISO A4 MISO
SPI SCK A3 SCK
*/
#include <SPI.h>
const int relayPin = D3;
const int btnPlus = D8;
const int btnMinus = D7;
const int btnBack = D6;
const int btnEnter = D5;
float time = 5.00;