Hi folks. I'm finally having luck getting going on programming... My project is a web based motor controller essentially. I'm trying out Basic_PWM, and I have a blue LED hooked to GPIO12. After flashing, it runs the example program, but I get some erratic behavior from the LED. It generally seems to go from 100% to about 50% and back up, but it flickers to 100% as well. Any idea what is going on? I'm not current limiting the LED, maybe I'm sourcing too much from the pin?
is there a guide or a link on how to add an eclipse make file param, like wifi_ssid, i tried adding in my make fild and in eclipse build->environment, same as i do for ssid and password, but it didi not dtick
so maybe this then:
# we will use global WiFi settings from Eclipse Environment Variables, if possible
WIFI_SSID ?= ""
WIFI_PWD ?= ""
ifneq ($(WIFI_SSID), "")
CFLAGS += -DWIFI_SSID=\"$(WIFI_SSID)\"
@alon24 : I am on windows/eclipse and use the following for ESP/SMING_HOME, WIFI_SSID/PWD and COM_PORT Go to Eclipse->Windows->Preferences->C++->Build->environment. There you can define the variables which are then used in the makefiles. Nice thing is that these are preference in the Eclipse Workspace so you can have multiple workspaces with different values. For very useful for me because I have multiple SMING_HOME locations.
And of course you can add also the USER_CFLAGS in there
@hreintke@alon24@raburton Hello. Can I use Sming Framework in my IOT product which I plan to sell? Please let me know if anything is required. I am planning to develop a sensor network and will use the modified examples from the Sming.