Skip to content

Instantly share code, notes, and snippets.

View deadprogram's full-sized avatar
💭
Currently available for work. Let's talk!

Ron Evans deadprogram

💭
Currently available for work. Let's talk!
View GitHub Profile
@deadprogram
deadprogram / README.md
Last active April 9, 2026 21:08
TinyGo and Arduino UNO Q

Flashing the Arduino UNO Q using TinyGo

Here are some helpful tips to use TinyGo with and an Arduino UNO Q board that is connected either via Android Debug Bridge (adb) or via SSH.

adb

adb is useful for when you want to connect the Arduino UNO Q directly to your computer without a monitor or keyboard.

You can install the adb command line tool for your platform here: https://developer.android.com/tools/releases/platform-tools

@deadprogram
deadprogram / QRB2210_swd.cfg
Last active March 27, 2026 10:53
Flashing Arduino UNO Q from your local computer via ADB or SSH
adapter driver linuxgpiod
adapter gpio swclk -chip 1 26
adapter gpio swdio -chip 1 25
adapter gpio srst -chip 1 38
transport select swd
adapter speed 1000
reset_config srst_only srst_push_pull
@deadprogram
deadprogram / radioaficionado.md
Last active January 27, 2026 06:11
Guía de estudio para los exámenes de radioaficionado

Guía de estudio

Electricidad

La lectura “10 dBµV”, es un valor de:

  • Resistencia eléctrica
  • Potencia eléctrica
  • Intensidad de corriente eléctrica
  • Tensión eléctrica
// NOT true random number generation on RP2040 but good enough for quick demos.
// Do not use in important production systems.
// Seriously, don't.
package main
import (
"machine"
"crypto/rand"
)
@deadprogram
deadprogram / showmac.go
Created September 10, 2022 10:20
This example shows the MAC address on boards with WiFiNINA support
package main
import (
"machine"
"strconv"
"time"
"tinygo.org/x/drivers/wifinina"
)
package main
import (
"machine"
"machine/usb/hid"
"machine/usb/hid/keyboard"
"time"
)
// NUCLEO-L432KC
// GND to GND
// SCL to D5
// SDA to D4
package main
import (
"fmt"
"machine"
"time"
@deadprogram
deadprogram / example_i2c_peripheral.go
Last active November 22, 2021 13:55
Concept for i2c peripheral (target) interface
package main
import (
"machine"
"time"
)
var input [16]byte
func main() {
@deadprogram
deadprogram / quotes-about-software.md
Last active September 3, 2021 09:48
Quotes about software

"Adding manpower to a late software project, makes it later." - Frederick P. Brooks Jr., The Mythical Man-Month: Essays on Software Engineering

"Learning is limited by an organization’s ability to keep its people." - Tom DeMarco

"A primary cause of complexity is that software vendors uncritically adopt almost any feature that users want." - Niklaus Wirth

"When executives ask for an 'estimate,' they’re often asking for a commitment or for a plan to meet a target." - Steve McConnell, Software Estimation: Demystifying the Black Art

"Time pressure gradually corrupts an engineer's standard of quality and perfection. It has a detrimental effect on people as well as products." - Niklaus Wirth

// go run demo/style-transfer/main.go 1 data/starry_night.t7 opencv fp32
//
package main
import (
"fmt"
"image"
"os"
"gocv.io/x/gocv"