Hiya,

Actually, I am work on Treo and I have tried the following code,
UInt16 IndicatorStateLEDRed = kIndicatorForceRed;
error = HsIndicatorState (300, kIndicatorTypeLed, &IndicatorStateLEDRed);
,the LED did not blink but stay solid.

The above coding same as the one below,
error = HsIndicatorState (kIndicatorCountForever, kIndicatorTypeLed, 
&IndicatorStateLEDRed);

Any idea for blinking LED and frequency?

Thanks



"Regis St-Gelais" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of Tenchi
>> Sent: Thursday, October 19, 2006 12:59 AM
>> To: Palm Developer Forum
>> Subject: Control the LED blinking frequency and color?
>>
>>
>> Hiya, I found HsIndicatorState (300, kIndicatorTypeLed,
>> &IndicatorStateLEDRed); does not work, any idea?
>>
>
> HsIndicatorState is a HandSpring/Treo API.
> It does not work on other PDAs like the Zire familly or the Tungsten 
> family.
>
> Look at AttnDoSpecialEffects but some of its functions do not work on the 
> Treo.
> So you usualy need to chose what you call based on the device at run time.
>
> -- 
> Regis St-Gelais
> www.laubrass.com
>
> 



-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to