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
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA512 | |
My resignation from freenode staff | |
================================== | |
I joined the freenode staff in March 2019 [1]. | |
Before I joined the staff, Freenode Ltd was sold [2] to a person named | |
Andrew Lee as part of a sponsorship deal. The informal terms of that |
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
use nom::types::CompleteStr; | |
use std::str; | |
use nom::space; | |
use nom::types::CompleteByteSlice; | |
//use geometry::SchemaPoint2D; | |
pub struct SchemaPoint2D(f32, f32); | |
impl SchemaPoint2D { | |
fn new(x:f32, y:f32) -> SchemaPoint2D { |
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
import smbus | |
import time | |
# for RPI version 1, use "bus = smbus.SMBus(0)" | |
bus = smbus.SMBus(1) | |
# This is the address we setup in the Arduino Program | |
address = 0x04 | |
def writeNumber(value): | |
bus.write_byte(address, value) |