Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
Helio Machado
@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
@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.
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?
I think the problem is here
remove the ICACHE_FLASH_ATTR its not need, it automatically in flash
and move #include "Esp.h" out of the extern.
void setup() {
  #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.
thank you so much!
no extern "C" here, but the function must be inside the ifdef right?
the ifdef is not needed for the ESP
only if you what to use the same code in AVR
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
still function in function
I've removed the ICACHE_FLASH_ATTR
I got it
outside the setup or loop
Note os_printf is only visible if you do:
oh, ok
it gives me all these errors when I try to compile it
yup, I tried to compile your code
and gave me these errors
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.
ohh ok thank you
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
Dear PlatformIO Users, welcome to PlatformIO IDE beta testing https://twitter.com/platformio_org/status/691030836720844800
@gonsays include ping.h
oh ok thnaks!
I don't think that I have that file