[Logo] Anarduino and HopeRF Community Forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics     [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: athtest800
Forum Index » Profile for athtest800 » Messages posted by athtest800
Author Message
Are there any news?
I have sent email but no reply...
I would also like to comment, after trial and error, that the problems starts with the "receiveBegin" of RFM69 Library. After commenting some code i think that "setMode" is the function that gives me trouble.

And more accurate the below inside "setMode":

My knowledge stops here. I cannot go ahead.
Is there any suggestion?

Thank you
Thanks for the responses.
Forgive me for any errors i make as long as i am new to arduino.

When your LCD is using the SPI port, it can get interrupted by the radio's ISR

At the time of the experiments, i get strange white pixel dots only when i use "if (radio.receiveDone())".
Firstly i fill the screen with black "tft.fillScreen(ST7735_BLACK);" and then i add a delay(5000). But when radio.receiveDone executes first in loop(), the only function in loop, i get white pixels on top-left of lcd. So i think interrupt has no rule for now because i have finished writing to LCD (am i correct?).

Looking in the libraries i see that RF69 unselects SPI. The LCD (*csport |= cspinmask; ) does the same thing after writing to SPI.

The strange i discovered is that when i set LCD pin slave select to HIGH the lcd still responds to commands.

ex. in fillRectangle

Sorry again if i cannot explain it so to understand it.
I use the RFM69HW Mini wireless.
I added an ST7735 LCD by using either the UTFT either the adafruit ST7735 library https://github.com/adafruit/Adafruit-ST7735-Library.
The result is 3-5 white(?) pixels that are shown on LCD. This is very ugly.
The problem appears with this function
with the LowPowerLabs https://github.com/LowPowerLab/RFM69 and
with the RadioHead http://www.airspayce.com/mikem/arduino/RadioHead/.

What can i do to solve it?
Thank you.
Forum Index » Profile for athtest800 » Messages posted by athtest800
Go to:   
Powered by JForum 2.1.9 © JForum Team