code example of Frequency Meter library in web editor

Loaded the Frequency Meter code example to start working on an idea around reading frequency and using a lookup table, and the default example gives the following error “Base operand of ‘->’ is not a pointer” I can’t see that string anywhere in the code. See screenshot.

The error message shown on the orange bar is only a very vague summary of what went wrong. You need to look at the full error output to get the details that will allow you to identify and solve the issue. The full error output is shown in the black console window under that orange bar. You will probably need to scroll up the console window to see the full contents.

After reading the full error output, if you still need help, we’ll need you to provide the full output:

  • Hover the mouse over the red bar that shows the error message. Click and drag it up so you can see the black console window.
  • Click the icon in the top right corner of the console that looks like two pieces of paper.
  • Paste the error in a message here USING CODE TAGS (</> button on the forum toolbar). If the text exceeds the forum’s 9000 character limit, save it to a text file and post it as an attachment. If you click the “Reply” button here, you will see an “Attachments and other settings” link.

We will also need to have the sketch that you’re compiling. “Frequency Meter code example” doesn’t mean anything to me. You can provide a share link to your sketch on Arduino Web Editor or else just post the code here. If possible, you should always post code directly in the forum thread as text using code tags (</> button on the toolbar). This will make it easy for anyone to look at it, which will increase the likelihood of you getting help. If the sketch is longer than the forum will allow then it’s OK to add it as an attachment. After clicking the “Reply” button, you will see an “Attachments and other settings” link.

If you needed to install the Frequency Meter library or any other library to compile the sketch, then please provide links to where you downloaded the libraries from.