E22 SX1262 module now works!

Thanks mostly to an old github comment by @beegee-tokyo the fix was easy
(comment here https://github.com/jgromes/RadioLib/issues/12#issuecomment-520450429)

We now set DIO3 to 2.4 volts to power the oscillator inside the E22
module (undocumented in the E22 docs)
This commit is contained in:
geeksville
2020-06-15 14:38:09 -07:00
parent 82169d4115
commit 477c62082d
4 changed files with 56 additions and 5 deletions

View File

@@ -91,9 +91,6 @@ class RadioLibInterface : public RadioInterface, private PeriodicTask
virtual void startReceive() = 0;
private:
/** start an immediate transmit */
void startSend(MeshPacket *txp);
/** if we have something waiting to send, start a short random timer so we can come check for collision before actually doing
* the transmit
*
@@ -113,7 +110,12 @@ class RadioLibInterface : public RadioInterface, private PeriodicTask
/// Make sure the Driver is properly configured before calling init().
/// \return true if initialisation succeeded.
virtual bool init();
/** start an immediate transmit
* This method is virtual so subclasses can hook as needed, subclasses should not call directly
*/
virtual void startSend(MeshPacket *txp);
/**
* Convert our modemConfig enum into wf, sf, etc...
*