This file contains hidden or 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 serial | |
import time | |
class SimpliciTI: | |
SIZE_OF_PACKET_HEADER = 3 | |
HW_NO_ERROR = 0x06 | |
def __init__(self): | |
self.device = serial.Serial() |
This file contains hidden or 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
(function ($) { | |
/* | |
up | |
_________________________________ | |
| \ | |
| up \ | |
|__________________ \ _ move _ move | |
| \ \ | \ | \ | |
V down \ move \ V / threshold V / up | |
S_0 ------------> S_1 ------------> S_2 ------------> S_3 ------------> S_f |
This file contains hidden or 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
chrome.extension.onConnect.addListener(function (port) { | |
port.onMessage.addListener(openLink); | |
}); | |
var openLink = (function () { | |
var openers = { | |
tab: function (information ) { | |
chrome.tabs.create({ | |
url: information.url, | |
active: false |
NewerOlder