Skip to content

Instantly share code, notes, and snippets.

View uXeBoy's full-sized avatar

Dan O'Shea uXeBoy

  • Adelaide, South Australia
View GitHub Profile
@uXeBoy
uXeBoy / Arduboy2Core.cpp
Last active May 9, 2018 06:48
Arduboy2Core.cpp
/**
* @file Arduboy2Core.cpp
* \brief
* The Arduboy2Core class for Arduboy hardware initilization and control.
*/
#include "Arduboy2Core.h"
const uint8_t PROGMEM lcdBootProgram[] = {
// boot defaults are commented out but left here in case they
#include "PS3USB.h"
// Satisfy the IDE, which needs to see the include statment in the ino too.
#ifdef dobogusinclude
#include <SPI.h>
#endif
USB Usb;
PS3USB PS3(&Usb);
@uXeBoy
uXeBoy / conf_FPGA.sh
Created April 13, 2018 08:22 — forked from j-marjanovic/conf_FPGA.sh
iCE40 SPI Configuration
#!/bin/bash
# A script to configure Lattice iCE40 FPGA by SPI from Raspberry Pi
#
# Copyright (C) 2015 Jan Marjanovic <jan@marjanovic.pro>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.