Skip to content

Instantly share code, notes, and snippets.

View felipemanga's full-sized avatar

Felipe Manga felipemanga

View GitHub Profile
:100000000C94D50D0C94FD0D0C94FD0D0C94FD0D70
:100010000C94FD0D0C94FD0D0C94FD0D0C94FD0D38
:100020000C94FD0D0C94FD0D0C941F140C94911464
:100030000C94FD0D0C94FD0D0C94FD0D0C94FD0D18
:100040000C94FD0D0C94FD0D0C94FD0D0C94FD0D08
:100050000C94FD0D0C94FD0D0C94FD0D0C945E0E96
:100060000C94FD0D0C94FD0D0C94FD0D0C94FD0DE8
:100070000C94FD0D0C94FD0D0C94FD0D0C94FD0DD8
:100080000C94FD0D0C94FD0D0C94FD0D0C94FD0DC8
:100090000C94FD0D0C94FD0D0C94FD0D0C94FD0DB8
:100000000C94D5060C94FD060C94FD060C94FD068C
:100010000C94FD060C94FD060C94FD060C94FD0654
:100020000C94FD060C94FD060C94200D0C94920D7E
:100030000C94FD060C94FD060C94FD060C94FD0634
:100040000C94FD060C94FD060C94FD060C94FD0624
:100050000C94FD060C94FD060C94FD060C945E07B2
:100060000C94FD060C94FD060C94FD060C94FD0604
:100070000C94FD060C94FD060C94FD060C94FD06F4
:100080000C94FD060C94FD060C94FD060C94FD06E4
:100090000C94FD060C94FD060C94FD060C94FD06D4
:100000000C94D5070C94FD070C94FD070C94FD0788
:100010000C94FD070C94FD070C94FD070C94FD0750
:100020000C94FD070C94FD070C94200E0C94920E7A
:100030000C94FD070C94FD070C94FD070C94FD0730
:100040000C94FD070C94FD070C94FD070C94FD0720
:100050000C94FD070C94FD070C94FD070C945E08AE
:100060000C94FD070C94FD070C94FD070C94FD0700
:100070000C94FD070C94FD070C94FD070C94FD07F0
:100080000C94FD070C94FD070C94FD070C94FD07E0
:100090000C94FD070C94FD070C94FD070C94FD07D0
:100000000C94D50A0C94FD0A0C94FD0A0C94FD0A7C
:100010000C94FD0A0C94FD0A0C94FD0A0C94FD0A44
:100020000C94FD0A0C94FD0A0C9420110C9492116E
:100030000C94FD0A0C94FD0A0C94FD0A0C94FD0A24
:100040000C94FD0A0C94FD0A0C94FD0A0C94FD0A14
:100050000C94FD0A0C94FD0A0C94FD0A0C945E0BA2
:100060000C94FD0A0C94FD0A0C94FD0A0C94FD0AF4
:100070000C94FD0A0C94FD0A0C94FD0A0C94FD0AE4
:100080000C94FD0A0C94FD0A0C94FD0A0C94FD0AD4
:100090000C94FD0A0C94FD0A0C94FD0A0C94FD0AC4
@felipemanga
felipemanga / Makefile
Created April 30, 2018 12:43
mbed makefile
# This file was automagically generated by mbed.org. For more information,
# see http://mbed.org/handbook/Exporting-to-GCC-ARM-Embedded
###############################################################################
# Boiler-plate
# cross-platform directory manipulation
ifeq ($(shell echo $$OS),$$OS)
MAKEDIR = if not exist "$(1)" mkdir "$(1)"
RM = rmdir /S /Q "$(1)"
@felipemanga
felipemanga / FormulaPod.ino.hex
Created May 6, 2018 17:33
FormulaPodScreenSaver
:100000000C9499050C94C1050C94C1050C94C10580
:100010000C94C1050C94C1050C94C1050C94C10548
:100020000C94C1050C94C1050C940B180C947D180C
:100030000C94C1050C94C1050C94C1050C94C10528
:100040000C94C1050C94C1050C94C1050C94C10518
:100050000C94C1050C94C1050C94C1050C94B01C02
:100060000C94C1050C94C1050C94C1050C94C105F8
:100070000C94C1050C94C1050C94C1050C94C105E8
:100080000C94C1050C94C1050C94C1050C94C105D8
:100090000C94C1050C94C1050C94C1050C94C105C8
:100000000C9456060C947E060C947E060C947E0688
:100010000C947E060C947E060C947E060C947E0650
:100020000C947E060C947E060C94ED200C945F21BB
:100030000C947E060C947E060C947E060C947E0630
:100040000C947E060C947E060C947E060C947E0620
:100050000C947E060C947E060C947E060C9414166A
:100060000C947E060C947E060C947E060C947E0600
:100070000C947E060C947E060C947E060C947E06F0
:100080000C947E060C947E060C947E060C947E06E0
:100090000C947E060C947E060C947E060C947E06D0
// Original demo by Stefan Sauer (@ensonic)
// make_pal is from @Spinal's Mode13 demo, with modifications
#include "Pokitto.h"
Pokitto::Core game;
#define RGB888_565(r, g, b) ((r >> 3) | ((g >> 2) << 5) | ((b >> 3) << 11))
#define GRAY888_565(g) ((g >> 3) | ((g >> 2) << 5) | ((g >> 3) << 11))
@felipemanga
felipemanga / keypad.ino
Created November 27, 2018 00:33
Aseprite keypad
#include <Keyboard.h>
struct Binding {
int pin;
const char *seq;
int state;
bool type;
};
const char cf[] = {0x80, 'f', 0};
@felipemanga
felipemanga / src.js
Created July 3, 2020 21:33
Snake in PINES
const minX = 6, maxX = 22;
const minY = 0, maxY = 20;
const boardWidth = maxX - minX;
const boardHeight = maxY - minY;
const heart = builtin("sHeart");
const lvl = builtin("sLvl");
const pts = builtin("sPts");
const ledOFF = builtin("shape2");
const ledON = builtin("sBtn");
const snakeColor = 112;