Main Site Documentation

Cerbot SetLEDBitmask() is VERY slow


#1

It appears there is a long sleep built into this function and I can’t get it to cycle at more than what appears (visually) to be about 200ms. Is this by design or is there a driver problem? This seems really slow.


ushort led = 1;
for (byte l = 0; l < 16; l++)
{
    led <<= 1;
    cerbotController.SetLEDBitmask(led);
    Thread.Sleep(20);
}


#2

@ ianlee74 - The developer page mentions that there is a software issue that induces a 40ms delay in the SetLEDBitmask function.

http://www.ghielectronics.com/docs/174/fez-cerbot-guide

It does seem like a strange issue, I would be very interested to know if there was some technical challenge that required the introduction of the 40ms delay.


#3

We simply forgot the delay there :slight_smile: will be removed in next release


#4

@ taylorza - thanks for being gentle with the RTFM :wink:


#5

Well now I am glad I was gentle about it. The very next day I “reported” an error here
http://ghielectronics.com/community/forum/topic?id=12234

And guess what the very last line of the developer page for the G400 mentions under the known issues… You got it, the exact issue I “reported” :slight_smile:


#6

But you don’t know when it was added to the page :wink:

May be right after you have reported it.


#7

True, if only I RTFM I would know for sure :slight_smile: