I hereby claim:
- I am steviethecat on github.
- I am darthfaber (https://keybase.io/darthfaber) on keybase.
- I have a public key ASCzHML9I7mXmrd59QrbFDuRI6-Q1M-yRdO0ZH85mD1bAgo
To claim this, I am signing this object:
pkg load instrument-control | |
% got this function from https://www.edn.com/read-serial-data-directly-into-octave/ | |
function [char_array] = ReadToTermination (srl_handle, term_char) | |
% parameter term_char is optional, if not specified | |
% then CR = 'r' = 13dec is the default. | |
if (nargin == 1) | |
term_char = 13; | |
end |
#/bin/bash | |
dir=$(mktemp --directory) | |
declare -a input=() | |
cat <<__EOT__ > ${dir}/metadata.txt | |
--- | |
title: The Story of Us | |
author: Tim Urban | |
rights: Creative Commons Non-Commercial Share Alike 3.0 |
I hereby claim:
To claim this, I am signing this object:
Wikijs 1.0 will slow down when uploading this page. Check issue 389 for more info.
column A | column B | column C | column D |
---|---|---|---|
a | b | c | |
a | b | c | |
a | b | c | |
a | b |
#!/bin/bash | |
# https://learn.adafruit.com/adafruits-raspberry-pi-lesson-8-using-a-servo-motor/software | |
gpio -g mode 18 pwm | |
gpio pwm-ms | |
gpio pwmc 192 | |
gpio pwmr 2000 | |
while [ 1 -gt 0 ] | |
do |
#include <stdio.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <fcntl.h> | |
#include <unistd.h> | |
#include <sys/ioctl.h> | |
#include <linux/types.h> | |
#include <linux/spi/spidev.h> | |
#include <stdint.h> | |
#include <stdio.h> |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdarg.h> | |
#include <unistd.h> | |
#include <stdint.h> | |
#include <math.h> | |
#include "pigpio.h" | |
/* |
/* | |
Compile: gcc -o sine sine.c -lm -Wall | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#include <math.h> | |
#define PI 3.14159265 |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#include <ctype.h> | |
#include <string.h> | |
typedef struct | |
{ | |
char *command; | |
char *parameter1; |
/* | |
Spotify catcher | |
Functions as a "man in the middle" for the Spotify Client scrobbles that | |
go to post.audioscrobbler.com (last.fm). | |
Works on an esp8266 (Arduino IDE). Connect an oled to pin 3 (SDA) and | |
pin4 (SCL) to show the currently playing song. | |
Make sure you put the IP of the esp9266 into /etc/hosts with the name |