Pi3rrot 11 年之前
父節點
當前提交
4df377224b
共有 1 個文件被更改,包括 32 次插入1 次删除
  1. 32 1
      README.md

+ 32 - 1
README.md

@@ -1,4 +1,35 @@
 SM130
 =====
 
-SM130 RFID/NFC Librarie for Arduino
+SM130 RFID/NFC Librarie for Arduino 1.x.
+
+This lib use Arduino toolchain.
+Powered with : https://github.com/amperka/ino
+
+How to use ?
+============
+
+* Set up the lib
+* To send a command to the SM130 chip, use the command :
+SM130.send_command(uint8_t cmd, const uint8_t *cmd_args, const uint8_t cmd_args_length, uint8_t *ret, uint8_t *length)
+
+Example :
+SM130.send_command(0x80, NULL,0 ,ret, &len);
+for a reset command.
+
+I suggest you to read the datasheet:
+http://www.sparkfun.com/datasheets/Sensors/ID/SM130.pdf
+
+I bought the module on Sparkfun with an arduino shield :
+https://www.sparkfun.com/products/10126
+https://www.sparkfun.com/products/10406
+and some Mifare 1K tags :)
+
+Have fun !
+
+Thanks
+======
+
+Big thanks to Mupuf
+http://mupuf.org
+https://github.com/mupuf