pin | I/O | label | description | remark |
---|---|---|---|---|
1 | - | GND | ground | |
2 | I/O | I2CSCL | I²C clock | (pulled up by camera) |
3 | I/O | I2CSDA | I²C data | (pulled up by camera) |
4 | - | GND | ground | |
5 | I | BATTIN | battery input | |
6 | I | BATTIN | battery input | |
7 | O | 3V8OUT | unregulated power out 3.8V | 0V when camera is off. |
8 | O | 3V8STBY | unregulated power out 3.8V | always keep 3.8V unless battery is out. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Version 0.6 | |
-- New In 0.5 | |
-- Delay time is now in milliseconds | |
-- Unused vars deleted | |
-- New in 0.6 | |
-- Saves artwork as comment | |
-- Original here: https://github.com/alexjohnj/spotijack/ | |
set delay_time to 0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define SSD1306_SDA 4 | |
#define SSD1306_SCL 5 | |
#define SSD1306_SA | |
0x78 // Slave address | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#This snippet takes words intended for a bip39 mnemonic seed as a list and reorders them into a seed where the checksum validates. | |
#Often people want to choose their own seed words but the resulting order doesn't adhere to the bip39 specification, | |
#This is a way to force your favourite words into a valid hd bip39 seed. Disclaimer: Use true random entropy to select your words! | |
#All possible combinations are written to a text file, but that's probably going to be a lot of choice so you should probably | |
#Limit the number of itterations or cancel it a ways into processing | |
import itertools | |
import os | |
import binascii | |
import mnemonic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Compiled, mashed and generally mutilated 2014-2015 by Denis Pleic | |
Made available under GNU GENERAL PUBLIC LICENSE | |
# Modified Python I2C library for Raspberry Pi | |
# as found on http://www.recantha.co.uk/blog/?p=4849 | |
# Joined existing 'i2c_lib.py' and 'lcddriver.py' into a single library | |
# added bits and pieces from various sources | |
# By DenisFromHR (Denis Pleic) |