http://www.40percent.club/2017/07/4-pack.html のキーボードを作るための手順
- お好みのキースイッチ 4つ
- お好みのキーキャップ 4つ
- Arduino (Pro Micro) 1つ
- 12ピンのピンヘッダ 2つ
http://www.40percent.club/2017/07/4-pack.html のキーボードを作るための手順
#!/usr/bin/python | |
#-*- coding:utf-8 -*- | |
import time | |
import hashlib | |
ndate=[] | |
dates=format(int(time.time()),'x') | |
dates = ":".join(str(dates)) | |
#print dates |
#-*- coding: utf-8 -*- | |
@@elements = ["ビ","ビ","ド","レ","ド","オ","ペ","レ","ショ"] | |
def bbop() | |
indice = [] | |
matches = 0 | |
for i in [*0..8] do | |
indice[i] = [*0..8].sample() | |
if @@elements[i]==@@elements[indice[i]] |
Plugin.create :laco do | |
command(:laco, | |
name: 'らこらこらこ〜', | |
condition: lambda{ |opt| true }, | |
visible: true, | |
role: :timeline) do |opt| | |
Service.primary.update(message: "らこらこらこ〜") | |
end | |
end |