Skip to content

Instantly share code, notes, and snippets.

View Atarity's full-sized avatar

Mike Sannikov Atarity

View GitHub Profile
@Atarity
Atarity / main.cpp
Created July 12, 2021 08:45
Xiao-knob: Platformio can't see CCRotaryEncoder class
#include <Arduino.h>
#include <Control_Surface.h>
USBMIDI_Interface midi; // Instantiate a MIDI over USB interface
CCButton button {
8, // Push button on pin 8:
{MIDI_CC::General_Purpose_Controller_1, CHANNEL_1}, // General Purpose Controller #1 on MIDI channel 1
};
@Atarity
Atarity / SW-to-VCP-workflow.md
Last active January 8, 2018 16:15
SolidWorks 2.5D part to VCarve Pro CAM export workflow

This workflow is based on my own experience. I publish steps otherwise definitely will forgot it overnight. This working well with toolchain:

  • Solidworks 2015
  • Adobe Illustrator CS5
  • VCarve Pro 8

I've modeled basic enclosure part which possible to milled with 2.5D router.

@Atarity
Atarity / RPi-SPI-example.py
Created October 16, 2012 17:24
RPi SPI rainbow on Python
#!/usr/bin/python
# Light painting / POV demo for Raspberry Pi using
# Adafruit Digital Addressable RGB LED flex strip.
# ----> http://adafruit.com/products/306
import RPi.GPIO as GPIO, time, math
def fillStrip(strip, stripLength, gamma, t):
for x in range(stripLength):