Skip to content

Instantly share code, notes, and snippets.

View Siapran's full-sized avatar
🐁

Katherine Miller Siapran

🐁
View GitHub Profile
/*
13-10-2015
Retroactive (retroactive.me)
Siapran Candoris
This code is public domain, inspired by the work of Nathan Seidle, Spark Fun Electronics 2011.
This code allows writing data to the Nokia 5110 84x48 graphic LCD:
http://www.sparkfun.com/products/10168
function nouveau_compteur(increment)
local compte = 0
return function ()
compte = compte + increment
return compte
end
end
local incr_1 = nouveau_compteur(1)
local incr_2 = nouveau_compteur(2)
@Siapran
Siapran / main.c
Created March 21, 2015 18:39
GCL usage example
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
typedef const char* str;
#define TYPE str
#include "vector.h"
#include "vector.def"
#undef TYPE
@Siapran
Siapran / main.c
Last active August 29, 2015 14:17
GCL usage
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
typedef const char* str;
#define TYPE str
#include "vector.h"
#include "vector.def"
#undef TYPE