2018-10-05から1日間の記事一覧

PCBgogo

参考サイト robotrip様 ・ https://robotrip.hateblo.jp/entry/2018/02/26/145601 ・ https://robotrip.hateblo.jp/entry/5a92a298c16ec.html

pcbnew テスト用パッドを置く。

Eeschema(回路図CAD)に部品を作成しなくても、Pcbnew(基板CAD)に直接、テスト用パターンを 置くことが可能なようです。 ※ DRCチェックなどにも影響はありません。 下記例では、KiCadに標準で入っている集合抵抗のフットプリントを配置しています。

16進数 → 2進数 変換

16進数 → 2進数 変換 再作成することがあるので記載。 #include <stdio.h> #include <string.h> int main(void) { char hex; char binary[5]; scanf("%c", &hex); switch(hex) { case '0': strcpy(binary, "0000"); break; case '1': strcpy(binary, "0001"); break; case '2':</string.h></stdio.h>…