<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[White screen when using LoRa module]]></title><description><![CDATA[<p dir="auto">Hello everyone, when I try to use the LoRa module i'm just getting a completely white screen.<br />
The code i'm using is:</p>
<p dir="auto">#include &lt;M5Stack.h&gt;<br />
#include &lt;M5LoRa.h&gt;</p>
<p dir="auto">void setup() {</p>
<p dir="auto">M5.begin();</p>
<p dir="auto">// override the default CS, reset, and IRQ pins (optional)<br />
LoRa.setPins(); // default set CS, reset, IRQ pin<br />
Serial.println("LoRa Receiver");<br />
M5.Lcd.println("LoRa Receiver");</p>
<p dir="auto">// frequency in Hz (433E6, 866E6, 915E6)<br />
if (!LoRa.begin(433E6)) {<br />
Serial.println("Starting LoRa failed!");<br />
M5.Lcd.println("Starting LoRa failed!");<br />
while (1);<br />
}</p>
<p dir="auto">// LoRa.setSyncWord(0x69);<br />
Serial.println("LoRa init succeeded.");<br />
M5.Lcd.println("LoRa init succeeded.");<br />
}</p>
<p dir="auto">void loop() {<br />
// try to parse packet<br />
int packetSize = LoRa.parsePacket();<br />
if (packetSize) {<br />
// received a packet<br />
Serial.print("Received packet: "");<br />
M5.Lcd.print("Received packet: "");</p>
<pre><code>// read packet
while (LoRa.available()) {
  char ch = (char)LoRa.read();
  Serial.print(ch);
  M5.Lcd.print(ch);
}

// print RSSI of packet
Serial.print("\" with RSSI ");
Serial.println(LoRa.packetRssi());
M5.Lcd.print("\" with RSSI ");
M5.Lcd.println(LoRa.packetRssi());
</code></pre>
<p dir="auto">}<br />
}</p>
<p dir="auto">not sure how to add a code tag sorry.<br />
I have tried swapping the LoRa RST and INT pins according to someone on the forum to make the LoRa work, the LoRa seems to be working okay but the screen is just completely white.</p>
]]></description><link>https://community.m5stack.com/topic/275/white-screen-when-using-lora-module</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Mar 2026 23:30:29 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/275.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 01 Aug 2018 07:56:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to White screen when using LoRa module on Thu, 02 Aug 2018 05:53:18 GMT]]></title><description><![CDATA[<p dir="auto">Strange that this never affected me. But I've added a note to the LoRa section of my big post about all these boards.</p>
]]></description><link>https://community.m5stack.com/post/1352</link><guid isPermaLink="true">https://community.m5stack.com/post/1352</guid><dc:creator><![CDATA[Rop]]></dc:creator><pubDate>Thu, 02 Aug 2018 05:53:18 GMT</pubDate></item><item><title><![CDATA[Reply to White screen when using LoRa module on Wed, 01 Aug 2018 21:50:13 GMT]]></title><description><![CDATA[<p dir="auto">Ahhh I got it!</p>
<p dir="auto"><a href="https://www.aliexpress.com/item/M5Stack-Official-Stock-Offer-LoRa-Module-for-ESP32-DIY-Development-Kit-Wireless-433MHz-Built-in-Antenna/32848258447.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.aliexpress.com/item/M5Stack-Official-Stock-Offer-LoRa-Module-for-ESP32-DIY-Development-Kit-Wireless-433MHz-Built-in-Antenna/32848258447.html</a></p>
<p dir="auto">Pay Attention:<br />
To aviod the problem that the screen can not display, GPIO5, as the NSS pin of the LoRa module, needs to be pulled up when the system is initialized.</p>
<p dir="auto">pinMode(5,OUTPUT);<br />
digitalWrite(5,HIGH);<br />
m5.begin():</p>
<p dir="auto">Now it's working. ;)</p>
<p dir="auto">L.</p>
]]></description><link>https://community.m5stack.com/post/1350</link><guid isPermaLink="true">https://community.m5stack.com/post/1350</guid><dc:creator><![CDATA[lelehel]]></dc:creator><pubDate>Wed, 01 Aug 2018 21:50:13 GMT</pubDate></item><item><title><![CDATA[Reply to White screen when using LoRa module on Wed, 01 Aug 2018 21:46:26 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Same Situation here. If LoRa module connected, white screen. Faulty module?</p>
<p dir="auto">Lehel</p>
]]></description><link>https://community.m5stack.com/post/1349</link><guid isPermaLink="true">https://community.m5stack.com/post/1349</guid><dc:creator><![CDATA[lelehel]]></dc:creator><pubDate>Wed, 01 Aug 2018 21:46:26 GMT</pubDate></item></channel></rss>