Skip to content

Instantly share code, notes, and snippets.

Konstantin Kirik snegovick

View GitHub Profile
View camera_source
#!/usr/bin/env python
# Copyright (C) 2012 by Kirik Konstantin <snegovick>
import pygst
import Image
import gst
import sys
View CC3000_STM32_ChibiOS_Manual_Test.c
* ChibiOS/RT - Copyright (C) 2013 Alan Barr
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Unless required by applicable law or agreed to in writing, software
snegovick / gist:4193874
Created Dec 3, 2012
simple script which reopens same tty
View gist:4193874
import serial
import struct
import sys
import time
def open_and_cat():
port = serial.Serial(sys.argv[1], sys.argv[2], bytesize=8, parity='N', stopbits=1, xonxoff=0, rtscts=0, timeout=2)
while True:
You can’t perform that action at this time.