Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed USBDevice TC77
Homepage
温度センサの TC77 を使うサンプルプログラムです。
SPIなのにIOが共通になっているという変わったチップです。
MOSIとMISOを抵抗で繋いでしまうというのがポイントで、それさえ解れば難しいトコはありません。
この例では 8ピン版の TC77を以下のように接続しています mbed TC77 MOSI p5 ---R 10K---+ | MISO p6 -----------+--- pin1 SI/O SCK p7 --------------- pin2 SCK CS p8 --------------- pin7 CS(active low)