Skip to content

Instantly share code, notes, and snippets.

@Rawze
Rawze / Truck_AC_v02a.ino
Created November 24, 2017 15:30
Prostar A/C code for Arduino
/*
* Prostar Air Conditioner Arduino Sketch
* 08-09-2017 by Rawze.
* Use at own risk.
*/
#include "Arduino.h"
//##########################################################
@Rawze
Rawze / qt_sdl2_opengl_example.cpp
Last active January 4, 2021 20:25
Basic SDL2 and OpenGL example using QT creator on linux by Rawze.
/*
* Linux + QT Creator + SDL2 + OpenGL example program by Rawze. It is my own interpretation after
* following other examples found elsewhere. Some of them seemed to be cryptic and difficult to
* understand, so I came up with my own. This example is probably just as bad, but at least it
* presents a different perspective. I figured out how to get it all running and just wanted to
* share for those who are only trying to learn. Use at own risk.
*/
/*
* I used the following commands to install the required SDL2 and Open GL source libraries into my
@Rawze
Rawze / ana_i2c_tinyslave.ino
Last active June 22, 2023 21:59
Arduino Attiny85 as 2-channel ana in + 1 chan pwm I2C slave device.
/*
ATtiny85 as 2-channel Analog + 1 PWM Output I2C Slave by Rawze. 05-16-2017
Default I2C adress = 0x04.
Program written and tested with ATTiny85 Arduino 8MHz internal clock bootloader.
Don't forget to select 8-Mhz internal clock and flash the bootloader on new hardware before first use.