2014-06-01から1ヶ月間の記事一覧
裏面(ハンダ面=bottomレイヤー)のデータ作成には EAGLEがエクスポートした画像データをHorizontal flipする必要がある。 GIMPでもできるけど、Imagemagickを使う方法を以下に記す。 http://www.imagemagick.org/script/convert.php BottomレイヤーのMilli…
FabmodulesでHole用のデータをどうやって作るのか試行錯誤してたら発見した。 PadsとViaだけレイヤーを選択して、PadsレイヤーのRectを描けばOK。 この手法が秀逸なのは、PadsとViaの穴をまとめてエクスポートしてくれるところ。 出力
http://iverilog.wikia.com/wiki/GTKWAVE
ipython --pylab import pandas from pandas import DataFrame d = {'one' : np.random.rand(10), 'two' : np.random.rand(10)} df = DataFrame(d) df.plot() #2系列のプロット scatter(df['one'],df['two']) #散布図のプロット
http://warrenmar.wordpress.com/2014/04/02/ipython-2-0-0-osx-mavericks/ export CFLAGS=-Qunused-arguments export CPPFLAGS=-Qunused-arguments export ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future sudo -E pip install -U…
CooltermとかZtermとかあるけど、Pythonでやりたかったので。 これでRaspberry piのターミナルからArduinoをコントロールできる。 https://github.com/shohei/avr_parrot_echoポイントとしては、 (1)マルチスレッドを実装する。キーボード中断が入った時…
ISR(USART_RX_vect)割り込みで、UDR0バッファを読み出さないとISR()内が無限ループになる。 RX受信割り込みなので、UDRを使わないことは想定されてないということだろうか。 /* Name: main.c * Author: <insert your name here> * Copyright: <insert your copyright message here> * License: <insert your license reference here> */ #include <avr/io.h> #include <util/delay.h> #</util/delay.h></avr/io.h></insert></insert></insert>…
秋月のUSBシリアル変換モジュールを使う。 蓋を開けて端子を確認。 左から順にVcc, GND, TX, RXになっていた。(LEDを当てて一番明るく光るところがVcc) シリアル通信設定は115200-8-N-1。 TBS bootloader V1.0 Build24362 for DSL2730U(Jul 19 2013-18:09:56…
以下が必要らしい。 http://ubuntuforums.org/showthread.php?t=2214154 $ sudo apt-get update $ sudo apt-get upgrade $ sudo apt-get install linux-lowlatency $ sudo apt-get dist-upgrade参考 http://techracho.bpsinc.jp/skk/2013_03_07/6748 http://…
VMWare toolsでドライバが入らなかったので、 一部自分でレジストリを編集した。 Regeditを開いて、単純に無いと言われているKey(フォルダ)を追加すればいい。
以下のコマンドを実行してみた TBSというブートローダを使っているらしい。RedbootかuBootだったらよかったのだが。 Command Word ---------------------------------------------------------------------------- cm [1] Command of mode convert ---------…