I hereby claim:
- I am rahji on github.
- I am robduarte (https://keybase.io/robduarte) on keybase.
- I have a public key ASDfOppsxrmJnIwGnb3Cz-oJLcL_JomvBMIST9TWUG9PMgo
To claim this, I am signing this object:
// gramlanguage.com | |
size = 19 // 19 or 13 or 9 | |
margin = 30 // board cutout margin/padding | |
// --------------------------------------- | |
size = size - 1 | |
w = 22 | |
h = 23.7 |
#include <SPI.h> | |
#include <MFRC522.h> | |
#define SS_PIN 10 | |
#define RST_PIN 9 | |
MFRC522 mfrc522(SS_PIN, RST_PIN); // Create MFRC522 instance. | |
boolean successfullyReadtheFirstCard = false; | |
boolean card1Read, card2Read, card3Read; |
#include <Arduino.h> | |
#include <Wire.h> | |
#include <dht_nonblocking.h> | |
#define DHT_SENSOR_TYPE DHT_TYPE_11 | |
static const int DHT_SENSOR_PIN = 2; | |
DHT_nonblocking dht_sensor( DHT_SENSOR_PIN, DHT_SENSOR_TYPE ); | |
#include <LiquidCrystal.h> | |
LiquidCrystal lcd(7, 8, 9, 10, 11, 12); |
/* | |
LiquidCrystal Library - Hello World | |
Demonstrates the use a 16x2 LCD display. The LiquidCrystal | |
library works with all LCD displays that are compatible with the | |
Hitachi HD44780 driver. There are many of them out there, and you | |
can usually tell them by the 16-pin interface. | |
This sketch prints "Hello World!" to the LCD | |
and shows the time. |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Backwards Text Test</title> | |
<style> | |
.backwards { |
ctx = Graphics.two() | |
let x = 0 | |
onframe = function(timestamp) { | |
const w = Graphics.canvas.width, h = Graphics.canvas.height | |
ctx.strokeStyle = 'green' | |
ctx.clearRect( 0,0,w,h ) | |
const size = 300 | |
import java.net.*; | |
import java.io.*; | |
import java.util.Arrays; | |
// from https://discourse.processing.org/t/receive-udp-packets/19832 | |
DatagramSocket socket; | |
DatagramPacket packet; | |
byte[] buf = new byte[12]; //Set your buffer size as desired |
#!/bin/bash | |
# countdown timer, for use with OBS Studio or the like | |
# writes a mm:ss countdown to a file every second | |
# Usage: ./countdown.sh SECS FILENAME | |
### CAUTION: there is no error checking at all | |
### and FILENAME WILL GET CLOBBERED! |
/* A simple arduino sketch that accepts one of three character-commands | |
* via the serial port: 0 to turn the LED off, 1 to turn it on, 2 to blink it | |
*/ | |
// keep track of the "state": 0, 1, or 2 | |
char currentState = '0'; | |
char previousState = ' '; | |
// a separate flag to keep track of whether the LED | |
// should be blinking at the moment |
I hereby claim:
To claim this, I am signing this object: