LoginSignup
0
0

More than 1 year has passed since last update.

nfcメモ

Posted at

ラズパイ

nfcpyのインストール

sudo pip3 install -U nfcpy

pythonでテスト

下記のコマンドを実行してみる。(多分エラーが出る)

import nfc

clf = nfc.ContactlessFrontend('usb')
print(clf)

対処

エラーが出るので、下記のコマンドで教えてくれる対処をする。

python3 -m nfc

再チャレンジ

SONY RC-S380/P ......

と表示され、nfcリーダーが認識された。

Macメモ

Homebrewをインストール

fetchがうまくいかない場合は一度、アンイストールしてからもう一度インストール

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

lsusbをインストール

brew tap jlhonora/lsusb 
brew install lsusb
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0