Skip to content

Hi, I couldn't get it to do anything. #2

Open
@billbee

Description

@billbee

Expected Behavior

I got it to compile and run, but nothing happened.

Current Behavior

Serial.print("hello: ");
radio.setFrequency(frequency); //Set Start Frequency
delay(20);
}

void loop() {
//Sweep
Serial.print("hello2: ");
if (frequency <= 108.00) {
//Get Data
bool stereo = radio.isStereo();
short lvl = radio.getSignalLevel();

Serial.print("hello3: ");
//Is it useable?
if (lvl >= minlvl && stereo) {
foundStation(frequency, lvl); //Print Station to Console
}
it printed hello2 and that was it.

Possible Solution

No idea. I just wanted to try the standby function since this thing only runs a few minutes a day but the Arduino is on all the time.

Steps to Reproduce (for bugs)

Context

Your Environment

  • Version used:
  • Dev. Environment and Version:
  • Operating System and version:
  • Link to your project (optional):
    Arduini wifi rev2 with IDE version 1.8.13

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions