Ok, you'all got me much closer. Using the actual array's I am trying to use, here is what I came up with...
#include "Arduino.h"
char const *menu1[] = {"Options","Start","Movement","Shutter",NULL};
char const *menu1_1[] = {"Step Size","Settle Time","Pause Time","Frames","Distance","Exit",NULL};
void displayMenu(char const **);
void setup() {
Serial.begin (9600);
}
void loop(){
displayMenu(char const **menu1); // <---- error highlights this line.
}
//for now, I simply want to print the number of elements.
void displayMenu(char const **a) {
int ln = 0
while (**a) {
a++;
ln++;
Serial.println(ln);
}
this results in the following error: "expected primary-expression before 'char'
highlighted line is displayMenu(char const **menu1);
not really sure what its telling me.