Much faster startup in 0.4.6 release!

Hi,

0.4.6 is a really awesome release. The pertained variables, the threading and so on makes the Photon so much more useful.

One thing which is not mentioned (maybe a by product of the threading) is the startup time: If you use a STARTUP function this will now be called practically instantaneously.

As an example, with the following code you will not get any more LED light after reset, while in earlier release there was always something about 1 second LED light, which you could not get rid of.

#include "application.h"

void startupFunction()
{
    RGB.control(true);
    RGB.color(0x000000);
}

STARTUP(startupFunction());
void setup() {}
void loop() {}

This is great for low power operation or situations, where you just do not want any LED to shine.

@mdma: Congratulations on a great release!

9 Likes