Originally written in January 2021.
Originally written for macOS Big Sur 11.1
Board used for this guide is the Kickstarter version.
Version at the time of writing is 1.8.13
Originally written in January 2021.
Originally written for macOS Big Sur 11.1
Board used for this guide is the Kickstarter version.
Version at the time of writing is 1.8.13
| # Install QEMU OSX port with ARM support | |
| sudo port install qemu +target_arm | |
| export QEMU=$(which qemu-system-arm) | |
| # Dowload kernel and export location | |
| curl -OL \ | |
| https://github.com/dhruvvyas90/qemu-rpi-kernel/blob/master/kernel-qemu-4.1.7-jessie | |
| export RPI_KERNEL=./kernel-qemu-4.1.7-jessie | |
| # Download filesystem and export location |
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
| #include <Event.h> | |
| #include <Timer.h> | |
| #include <SPI.h> | |
| #include <LiquidCrystal.h> | |
| #include <dht.h> | |
| #define ledpin_red 13 //Arduino output pin for Shift Light Red led | |
| #define BT_CMD_RETRIES 5 //Number of retries for each Bluetooth AT command in case of not responde with OK | |
| #define OBD_CMD_RETRIES 20 //Number of retries for each OBD command in case of not receive prompt '>' char |
| /* | |
| * This work is free. You can redistribute it and/or modify it under the | |
| * terms of the Do What The Fuck You Want To Public License, Version 2, | |
| * as published by Sam Hocevar. See the COPYING file for more details. | |
| */ | |
| /* | |
| * Easing Functions - inspired from http://gizma.com/easing/ | |
| * only considering the t value for the range [0, 1] => [0, 1] | |
| */ | |
| EasingFunctions = { |