Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Me No Dev
@me-no-dev
you can hack custom server to talk to the esp and execute whatever easily ;)
Aditya Tannu
@AdySan
will take a dab at it, thanks!
Helio Machado
@0x2b3bfa0
@celsworth @me-no-dev @AdySan @Links2004 : http://www.ebay.co.uk/itm/171794933876?_trksid=p2060353.m2749.l2648&ssPageName=STRK%3AMEBIDX%3AIT is the biggest thing I ever met, http://www.aliexpress.com/item/Free-Shippingn-HLK-PM01-AC-DC-220V-to-5V-mini-power-supply-module-intelligent-household-switch/32319515750.html?spm=2114.13010208.99999999.282.Fp5N2o seems big to me (I've seen it on Ali the past week, thanks however). I'm searching for a power supply like this one: http://forum.mysensors.org/uploads/upload-647e8ae2-ac42-4195-8031-3d77c92bbb71.jpg from this forum
Sorry for the late reply, I was offline
Helio Machado
@0x2b3bfa0
@martinayotte @Links2004: These are my current emergency solutions (waiting for), however I expect to find anything smaller (like that one in the picture). That circuit is based on LNK306, however I couldn't find that circuit already mounted. I ordered 10 chips of that on Ali to DIM (do it myself).
Michael Miller
@Makuna
@probonopd my library support async animations, but does require rethinking on your part on how they work. This is topic best brought up on my Gitter group. But look at the NeoPixelAnimator class. You can provide the function that does the specific update of the pixel and it will be called periodically with a progress that you use to define the animation.
I need to create a good sample for it, but there are examples of its use in the provided samples.
Remember, this project is about Arduino, it isn't inherently async so it doesn't solve these issues for you. We should strive for compatibility with Arduino first.
gonsays
@gonsays
Hello Guys!
I'm trying to ping an IP address using the CallSDKFunctions.ino
my Arduino sketch is here: http://pastebin.com/MEXhdv88

but it is not compiling:

CallSDK-v2.ino: In function 'void setup()':
CallSDK-v2:35: error: expected unqualified-id before string constant
CallSDK-v2:111: error: expected '}' at end of input
expected unqualified-id before string constant

these are the errors :sa:
do I need to call any .h file?
"ICACHE_FLASH_ATTR"
I think the problem is here
Markus
@Links2004
remove the ICACHE_FLASH_ATTR its not need, it automatically in flash
and move #include "Esp.h" out of the extern.
void setup() {
    Serial.begin(115200);
  #ifdef ESP8266
  extern "C" {
void ICACHE_FLASH_ATTR user_ping_recv(void *arg, void *pdata){
you can not create a function in a function
and no extern "C" { in this case.
gonsays
@gonsays
thank you so much!
no extern "C" here, but the function must be inside the ifdef right?
Markus
@Links2004
the ifdef is not needed for the ESP
only if you what to use the same code in AVR
gonsays
@gonsays
Gives me these errors:
CallSDK-v2.ino: In function 'void setup()':
CallSDK-v2:23: error: a function-definition is not allowed here before '{' token
CallSDK-v2:34: error: a function-definition is not allowed here before '{' token
CallSDK-v2:39: error: a function-definition is not allowed here before '{' token
a function-definition is not allowed here before '{' token
Markus
@Links2004
still function in function
gonsays
@gonsays
I've removed the ICACHE_FLASH_ATTR
ohh
ok
I got it
outside the setup or loop
yes
Note os_printf is only visible if you do:
Setup.setDebugOutput(true);
gonsays
@gonsays
blob
oh, ok
it gives me all these errors when I try to compile it
gonsays
@gonsays
yup, I tried to compile your code
and gave me these errors
Markus
@Links2004
the http://bbs.espressif.com/viewtopic.php?t=583 code seams not to good.
i only write it "free hand", have no IDE & compiler at my tablet.
gonsays
@gonsays
ohh ok thank you
gonsays
@gonsays
CallSDK-v2:39: error: 'ping_start' was not declared in this scope
the ping_Start function from the SDK is not being identified
it should been identified right?
maybe i'm not including something
Ivan Kravets
@ivankravets
Dear PlatformIO Users, welcome to PlatformIO IDE beta testing https://twitter.com/platformio_org/status/691030836720844800