Report Bugs Here

Moderator: Mmiscool

User avatar
By russm
#54212 Intereseting, I get the same thing but...

VAR shows n = 4...

Hmmm, need to dig deeper...

Slight correction, it shows:
Code: Select all​n = 4


OK, something weird happened when I saved, fixed all that. Now it shows:
n = 4. Which is correct. Going to play a little more. BTW. I have V3.0, A43

Rebooted, fixed the problem.
Last edited by russm on Wed Aug 31, 2016 9:37 pm, edited 1 time in total.
User avatar
By russm
#54213 So, the following code works fine for me:

Code: Select allmemclear

network = " "
i = 0
n = wifi.scan()
wprint "Number of network found = "&n
wprint "<br> <br>"

for i = 1 to n
 network = wifi.ssid(i)
 wprint network&"<br><br>"
next n


In my case, it returned 5 networks, each SSID individually listed...
User avatar
By forlotto
#54218 I had similar issues when first starting off:

Now I know you are a knowlegeable guy it this likely is not the case but rather than sit back and not mention it I will mention that after saving a new program you must visit run or hit the run link on the menu bar for the code to update.

I often still forget this step when I am making a bunch of little changes and it seems like basic is not working right when actually it is my own error in forgetting to hit run.

Just a slight possibility maybe doubt it but to errr is human sorry if I wasted any of your time with basics but I cannot count the number of times something as simple as a switch on a power strip not being turned on has confused people sometimes the simple stuff gets me the most as it is overlooked.