Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Basic4ppc Wishlist > Announcements
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Announcements Announcements of new versions and new libraries.

Hardware library was updated - 3.10

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 10-24-2007, 06:33 AM
Junior Member
 
Join Date: Jun 2007
Posts: 16
Default

I have tested on my O2 Xda Exec ,it works ok.thanks a lot.
but in my device the "led 0 on" is turn the led off and "led 0 on" is turn the led on,I don't know why.

Last edited by blackiice : 10-24-2007 at 06:49 AM.
Reply With Quote
  #12 (permalink)  
Old 10-24-2007, 06:49 PM
dzt's Avatar
dzt dzt is offline
Basic4ppc Veteran
 
Join Date: May 2007
Location: Ioannina, Greece
Posts: 356
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Hi,

Actualy notification led on drives to a blinking led. If the led was on before, it will start blinking also. Behaves like this or stays permanently off?
__________________
Dimitris Zacharakis
http://www.terracom.gr
Reply With Quote
  #13 (permalink)  
Old 12-27-2007, 07:39 PM
taximania's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 592
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by dzt View Post
Attached is a small (unofficial) library (C# source code included) which can activate and deactivate PPC notification leds.

Usualy notification led 0 is a really led and led 1 (in most cases) is the vibration mechanism.

Basic4PPC .sbp test file included.

If it works OK, Erel can add it to hardware library.
@DZT: I converted your C# source code to VB.NET and added it to my RawIr.dll

First thing I found, (even with your dzLEDs.dll), I can use led.ActivateLed(1) to make the Led flash,
but have to use led.DeActivateLed(0) to stop it flashing. Otherwise I have to do a soft reset to stop it flashing.

I've tried everything to alter the rate of the flash but have been totally unsuccessful. I've tried adding subs for all of the below structure settings, but nothing changes the rate. Is it possible, is that why it isn't implemented in dzLEDs.dll
Code:
    Friend Structure NLED_SETTINGS_INFO
        Public LedNum 
As Integer
        Public OffOnBlink 
As Integer
        Public TotalCycleTime 
As Integer
        Public OnTime 
As Integer
        Public OffTime 
As Integer
        Public MetaCycleOn 
As Integer
        Public MetaCycleOff 
As Integer
    
End Structure
The addition of your code to my .dll was purely for my own satisfaction that I could do it. It won't be released.

The credit is still with you
__________________
.
.
.
Don't ask, I'm fine, honest. !!
.
.
.
Just a little crazy at times



O2 XDA, GW Evo 2.1 UC WWE Rom, WM6.1
Radio Ver 03.34.90
With Basic4ppc V6.80


http://www.taximania.co.uk
Reply With Quote
  #14 (permalink)  
Old 12-28-2007, 08:15 AM
dzt's Avatar
dzt dzt is offline
Basic4ppc Veteran
 
Join Date: May 2007
Location: Ioannina, Greece
Posts: 356
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Hi taximania,

I didn't try to achieve different behaviour at all so I can't help you.

I've just read many posts saying LEDs does not behave the same in different devices.

Quote:
The addition of your code to my .dll was purely for my own satisfaction that I could do it. It won't be released
LawyerPhobia!
Don't warry, use it for any purpose.

Happy new Year

(Avoiding Taximania, to avoid lawyers)
__________________
Dimitris Zacharakis
http://www.terracom.gr
Reply With Quote
  #15 (permalink)  
Old 12-30-2007, 01:13 PM
Knows the basics
 
Join Date: May 2007
Posts: 96
Default

Hi Erel,

Can 't find a download for that updated Hardware library - 3.10
Am I missing somehow something?

Put Claude Belgium
Reply With Quote
  #16 (permalink)  
Old 12-30-2007, 03:18 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

The most updated version was included in V6.0 setup file.
You could find it under: C:\Program Files\Anywhere Software\Basic4ppc Desktop
Reply With Quote
  #17 (permalink)  
Old 03-22-2010, 05:04 PM
Newbie
 
Join Date: Mar 2010
Posts: 2
Default Vibration on Omnia i900

I just tried the lib on an Omnia i900 and i worked great, but the led number to vibrate is 11 not 0.

Best Regards
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hardware library was updated Erel Announcements 0 03-01-2008 04:20 PM
Hardware library was updated - 3.00 Erel Announcements 1 09-10-2007 09:21 PM
Hardware library was updated - 2.70 Erel Announcements 2 07-01-2007 06:50 PM
Hardware library was updated Erel Announcements 17 05-31-2007 07:14 AM
Hardware library was updated Erel Announcements 2 05-16-2007 10:40 AM


All times are GMT. The time now is 08:05 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0