File tree Expand file tree Collapse file tree 3 files changed +15
-6
lines changed
Expand file tree Collapse file tree 3 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 11# Release Notes
22
3- ## 1.4.13 - 2019-06-28
3+ ## 1.4.14 - 2019-06-28
44* Update deps
55* Use --self-contained for Firmware
66* Hook into view
Original file line number Diff line number Diff line change 11module internal ReleaseNotes
22
3- let Version = " 1.4.13 "
3+ let Version = " 1.4.14 "
44
55let IsPrerelease = false
66
77let Notes = """
88# Release Notes
99
10- ## 1.4.13 - 2019-06-28
10+ ## 1.4.14 - 2019-06-28
1111* Update deps
1212* Use --self-contained for Firmware
1313* Hook into view
Original file line number Diff line number Diff line change 11"use strict" ;
2- const mfrc522 = require ( "mfrc522-rpi" ) ;
3- //# Init WiringPi with SPI Channel 0
4- mfrc522 . initWiringPi ( 0 ) ;
2+ const Mfrc522 = require ( "mfrc522-rpi" ) ;
3+ const SoftSPI = require ( "rpi-softspi" ) ;
4+
5+ const softSPI = new SoftSPI ( {
6+ clock : 23 , // pin number of SCLK
7+ mosi : 19 , // pin number of MOSI
8+ miso : 21 , // pin number of MISO
9+ client : 24 // pin number of CS
10+ } ) ;
11+
12+ // GPIO 24 can be used for buzzer bin (PIN 18), Reset pin is (PIN 22).
13+ const mfrc522 = new Mfrc522 ( softSPI ) . setResetPin ( 22 ) . setBuzzerPin ( 18 ) ;
514
615function decimalToHex ( d ) {
716 var padding = 2 ;
You can’t perform that action at this time.
0 commit comments