Skip to content

Instantly share code, notes, and snippets.

View benjaminwand's full-sized avatar

Benjamin Wand benjaminwand

View GitHub Profile
@benjaminwand
benjaminwand / gist:16d965658060e990dde9
Last active August 29, 2015 14:05
Tetris theme A for PICAXE
gosub TeilA
gosub TeilB
gosub TeilA
end
TeilA:
tune 1, 8, (%00010100, %01001011, %01010000, %00010010, %01010000, %01001011)
tune 1, 8, (%00001001, %01001001, %01010000, %00010100, %01010010, %01010000)
tune 1, 12, (%00001011)
tune 1, 8, (%01010000, %00010010, %00010100)
@benjaminwand
benjaminwand / gist:877f19834b476841e86f
Created August 11, 2014 21:13
Bin Ich Gleich von Dir Gewichen for PICAXE
tune 1, 8, (%11000001) 'bin
tune 1, 8, (%11000010) 'ich
tune 1, 8, (%11000100) 'gleich
tune 1, 8, (%11000100) 'von
tune 1, 8, (%11000010) 'dir
tune 1, 8, (%11000001) 'ge-
tune 1, 8, (%11101011) 'wi-
tune 1, 8, (%11101011) 'chen
@benjaminwand
benjaminwand / gist:eac7b7e183cfebb7d747
Created August 24, 2014 17:31
Olympia Trailer for PICAXE
' die Kommentare sind die Taktzahlen
tune 1, 7, (%11010000) '1
tune 1, 10, (%11010000)
tune 1, 7, (%00010000, %00010000, %00010000) '2
tune 1, 10, (%00010100) '3
tune 1, 7, (%01010010, %11010000)
tune 1, 10, (%00000100) '4
tune 1, 7, (%01000101)
tune 1, 10, (%00000111)
tune 1, 7, (%01001001)
#include <Dhcp.h>
#include <Dns.h>
#include <SPI.h>
#include <EthernetClient.h>
#include <EtherCard.h>
#include <Wire.h>
#include "Adafruit_MCP23017.h"
/*
import pandas as pd
# Assuming your CSV file is named 'wikiusers.csv'
file_path = 'wikiusers.csv'
# Read the CSV file into a DataFrame
df = pd.read_csv(file_path)
# Extract the first column, which are the user names, into a Python array
names_list = df.iloc[:, 0].values