Skip to content

Instantly share code, notes, and snippets.

function countCSSRules() {
var results = '',
log = '';
if (!document.styleSheets) {
return;
}
for (var i = 0; i < document.styleSheets.length; i++) {
countSheet(document.styleSheets[i]);
}
function countSheet(sheet) {
// constants won't change. Used here to
// set pin numbers:
const int ledPin = 6; // the number of the LED pin
const int ledPin1 = 5;
// Variables will change:
int ledState = LOW;
int ledState1 = LOW; // ledState used to set the LED
long previousMillis = 0;
long previousMillis1 = 0; // will store last time LED was updated
<html>
<head>
<style type="text/css">
h1{
font-family: Aero;
size: 25px;
color: #ccc;
margin-top: 0px;
}
p{
@RubenJnl
RubenJnl / Arduino Array in Array
Created October 6, 2010 13:33
Arduino : Array in Array
myBlogPosting = [
{title: "Titel 0",
bodyText: "regel1 ...." +
"regel2 ...." +
"regel3 ....",
link: "link deel een" +
"link deel twe",
image: "afbeelding.jpg",
auteur: "naam auteur" },
{title: "Titel 1",
@RubenJnl
RubenJnl / Arduino ROFL
Created October 6, 2010 12:39
Arduino ROFL machine 4a gedeeltelijk
//Setup vars and testloop
#include "_init.h"
//int rolEen[18] = {1,2,3,4,5,6,6,7,8,9,1,2,10,11,12,13,14,15};
//int rolTwee[18] = {15,15,14,13,13,12,11,10,9,8,7,6,5,4,3,2,1};
//int rolDrie[18] = {5,2,8,1,11,3,14,15,10,9,15,7,13,10,13,3,12};
// rollen definities met 11 posities, 0 tm 10 index
// index: 0 5 10
char* rolEen[] = {"1","2","*","&","@","%","|","x",".","=", ":"};
char* rolTwee[] = {"|","1",".","=","x","2","*",":","&","%", "@"};