0

I'm using the following shields:

1. TINYSCREEN+ (PROCESSOR, OLED & USB IN ONE) https://tinycircuits.com/products/tinyscreenplus

2. 433MHZ LONG RANGE RADIO TINYSHIELD https://tinycircuits.com/collections/communication/products/433mhz-long-range-radio-tinyshield

And here's my code (very simple):

#include <Wire.h>
#include <SPI.h>
#include <TinyScreen.h>
#include "RH_RF22.h"

TinyScreen display = TinyScreen(TinyScreenPlus);
RH_RF22 rf22(7,3);

void setup() {
  display.begin();
  display.setBrightness(10);

  SerialUSB.begin(9600);

  if(rf22.init())
  {
   SerialUSB.println("Radio Set");
  } else {
   SerialUSB.println("Radio Failed");
  }
}

The same code if I use it with TinyDuino processor works fine (for TinyDuino I use Serial instead of SerialUSB)

Problem:

When I use TinyScreen+ instead of TinyDuino processor I never get the return value of "rf22.init()"

It seems like the process gets stuck when it reaches rf22.init()

I am very new in this field and really looking forward to your help.

Thank you,

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.