Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Announcements
Home Register FAQ Members List 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: Greece
Posts: 353
Awards Showcase
Forum Contributer 
Total Awards: 1
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
Senior Member
 
Join Date: May 2007
Posts: 194
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
__________________
Avoiding lawyers

O2 XDA Artemis Touch Flo 4.02 Full Cube Rom WM6.1

http://www.taximania.net
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: Greece
Posts: 353
Awards Showcase
Forum Contributer 
Total Awards: 1
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: 85
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: 2,636
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
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 On
Pingbacks are On
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 11:37 PM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0