Skip to content

Instantly share code, notes, and snippets.

View ubidefeo's full-sized avatar

Ubi de Feo ubidefeo

View GitHub Profile
@ubidefeo
ubidefeo / drawbot_00.py
Created February 22, 2024 22:49
DrawBot Grid
from time import sleep
start_w = 400
start_h = 400
color_a = 0xf78ae0
color_b = 0x5cc9f5
alpha_value = 1.0
square_w = 30
square_h = 30
@ubidefeo
ubidefeo / drawbot_01.py
Created February 22, 2024 22:48
DrawBot diagonals
from time import sleep
start_w = 400
start_h = 400
color_a = 0xf78ae0
color_b = 0x5cc9f5
alpha_value = 1.0
square_w = 30
square_h = 30
@ubidefeo
ubidefeo / NanoRP2040_OSC.ino
Created May 18, 2021 12:56
OSC Message sender for Arduino Nano RP2040 Connect
/* This Sketch is tested on
* - Nano 33 RP2040 Connect
* - Nano 33 IoT
* - MKR WiFi 1010
To compile and use it requires
Libraries:
- CNMAT OSC Library (https://github.com/CNMAT/OSC) - Arduino Library Manager
- Arduino WiFiNINA (https://github.com/arduino-libraries/WiFiNINA) - Arduino Library Manager
/* Arduino analog to BLE MIDI
Ubi de Feo @ Bar Arduino
https://www.youtube.com/watch?v=0zNmt_IKwRg
supported boards:
- Arduino MKR WiFi 1010
- Arduino Nano 33 IoT
- Arduino Nano 33 BLE
- Arduino Nano 33 BLE Sense
@ubidefeo
ubidefeo / ArduinoMIDI2OPZ.ino
Last active June 12, 2020 20:00
Arduino MIDI controller Demo
/* Arduino analog to USB MIDI
Ubi de Feo @ Bar Arduino
https://www.youtube.com/watch?v=0zNmt_IKwRg
supported boards:
- Arduino MKR Family
- Arduino Nano 33 IoT
**** Sketch for BLE MIDI (Nano BLE and Nano BLE Sense) ****
**** can be found here https://gist.github.com/ubidefeo/3e7362235cee5317cec4a36f07585e29 ****
@ubidefeo
ubidefeo / RPi_I2C_driver.py
Last active April 5, 2020 21:20 — forked from DenisFromHR/RPi_I2C_driver.py
RaspberryPi I2C LCD Python stuff
# -*- coding: utf-8 -*-
"""
Compiled, mashed and generally mutilated 2014-2015 by Denis Pleic
Made available under GNU GENERAL PUBLIC LICENSE
# Modified Python I2C library for Raspberry Pi
# as found on http://www.recantha.co.uk/blog/?p=4849
# Joined existing 'i2c_lib.py' and 'lcddriver.py' into a single library
# added bits and pieces from various sources
# By DenisFromHR (Denis Pleic)
@ubidefeo
ubidefeo / .zshrc
Created February 11, 2019 09:31 — forked from reidblomquist/.zshrc
zshrc (w/ prezto and powerlevel9k)
#
# Reid Blomquist's zshrc
#
# stuff being used:
# - zsh
# - prezto
# - powerlevel9k
# - a bunch of other shit
#
@ubidefeo
ubidefeo / TinyTS_v11.ino
Created February 9, 2018 22:42
The Tiny-TS Touch Synthesizer
// (*) All in the spirit of open-source and open-hardware
// Janost 2016 Sweden
 
// The Tiny-TS Touch Synthesizer
// https://janostman.wordpress.com/the-tiny-ts-diy-touch-synthesizer/
 
// Copyright 2016 DSP Synthesizers Sweden.
//
// Author: Jan Ostman
//
var cycleCounter = 0
cycleCounter = cycleCounter + 1
/*
Arduino + PCF8574* LCD backpack
2015 - ubi de feo - http://ubidefeo.com
This draws from the the HelloWorld_i2c.pde example by Francisco Malpartida and requires his extended LiquidCrystal library.
https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
*/
#include <Wire.h>
#include <LiquidCrystal_I2C.h>