Adjust default TX/RX pins to match wiki hardware guide

This is easier than updating the wiki because the wiki has an image that
also needs updating.
This commit is contained in:
Alex Jurkiewicz 2024-12-01 13:22:13 +08:00
parent eb75868adb
commit a4f756cc0c

View file

@ -1954,7 +1954,7 @@ class Somfy {
this.loadPins('input', document.getElementById('selTransRXPin')); this.loadPins('input', document.getElementById('selTransRXPin'));
//this.loadSomfy(); //this.loadSomfy();
ui.toElement(document.getElementById('divTransceiverSettings'), { ui.toElement(document.getElementById('divTransceiverSettings'), {
transceiver: { config: { proto: 0, SCKPin: 18, CSNPin: 5, MOSIPin: 23, MISOPin: 19, TXPin: 12, RXPin: 13, frequency: 433.42, rxBandwidth: 97.96, type: 56, deviation: 11.43, txPower: 10, enabled: false } } transceiver: { config: { proto: 0, SCKPin: 18, CSNPin: 5, MOSIPin: 23, MISOPin: 19, TXPin: 13, RXPin: 12, frequency: 433.42, rxBandwidth: 97.96, type: 56, deviation: 11.43, txPower: 10, enabled: false } }
}); });
this.loadPins('out', document.getElementById('selShadeGPIOUp')); this.loadPins('out', document.getElementById('selShadeGPIOUp'));
this.loadPins('out', document.getElementById('selShadeGPIODown')); this.loadPins('out', document.getElementById('selShadeGPIODown'));