News

moodlite - Coming soon


Fastled error

sniperx · 173

sniperx

  • Newbie
  • *
    • Posts: 3
    • Likes: +0/-0
    • View Profile
on: January 26, 2019, 09:20:05 AM
Hai guys i have this error with the new moodlight.ino, the first one it flashed without problems

Hai Guys,

I have just downloaded your lasted version and i get again the same fastled pin issue.
The old version i can upload it without problems

C:\Program Files (x86)\Arduino\libraries\FastLED-master/fastspi.h:110:23: note: #pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output

pragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output"

Soneone on facebook told me that is should work if i get this error.
So i tryed to setup the wifi but i don't see it in my router

#if STATIC_IP
   // Static IP
   IPAddress ipaWifiIP(192, 168, 100, 250);
   IPAddress ipaWifiSubnet(255, 255, 255, 0);
   IPAddress ipaWifiGateway(192, 168, 100, 1);
   // If you don't wish to use DNS leave "ipaWifiDns" variable as it is, otherwise set yours DNS or Google DNS (8.8.8.8)
   // You won't be able to use NTP server
   IPAddress ipaWifiDns(0, 0, 0, 0);
   // Configure:
   String sHostName = "";
   String sWifiSsd = "";
   String sWifiPassword = "";
#else
   // WiFi AP (DHCP)
   IPAddress ipaWifiApIP(192, 168, 1, 250);
   IPAddress ipaWifiApGateway(192, 168, 100, 1);
   IPAddress ipaWifiApSubnet(255, 255, 255, 0);
   // Leave unconfigured:
   String sHostName = "Moodlite";
   String sWifiSsd = "Conceptskeizer";
   String sWifiPassword = "mywifipassword";
   // AP Password
   // ! Must be at least 8 chars long
   const char* WIFI_AP_PASSWORD = "Moodlite";
#endif



sniperx

  • Newbie
  • *
    • Posts: 3
    • Likes: +0/-0
    • View Profile
Reply #1 on: January 26, 2019, 10:33:15 AM
After many tested, fast led error stays

Only Static ip works, when i activate DHCP so that my router send the ip it is not working



shiryou

  • moodlite Developer
  • Newbie
  • *****
    • Posts: 44
    • Likes: +4/-0
    • View Profile
Reply #2 on: January 26, 2019, 10:59:57 AM
Hi!

You can ignore de SPI message, no problem with that

You have two ways to configure the moodlite wifi:

Using wifi ap, moodlite will create a NEW wifi called "Conceptskeizer" in your case. So you can connect to it thru your phone or PC and set the normal Wifi and password.

If you set the variable STATIC_IP to true, you must configure your wiffi setting on the code, IP, submask, gateway, dns, ssid and password. Thru this way, moodlite will connect to your wifi when is connected without doing nothing else. One thing you should check before using STATIC_IP mode, is to check your router DHCP range. Mine use ips from 192.168.1.100 to 192.168.1.200 to use with DHCP, so if i use 192.168.1.250 moodlite will not work (at least from my experience)



 


SMF spam blocked by CleanTalk