Page 1 of 1
sound_init has changed
Posted: 02 May 2009 11:24
by Thomas.Pahl@t-online.de
Hi,
changes in sound library? sound_init till now without parameters - now expects two parameters. which? no hint in help.
regards Thopas
Posted: 04 May 2009 11:39
by marko.ziv
Hi,
you are correct, info on the Sound library in the Help is out of date (version for previous library) we will correct this for the release.
For some additional info i can tell you that the correct initialization of the Sound function would be
Code: Select all
Sound_Init(PORTC,3) ' Initialize sound pin
To help you understand there is an example for Sound library, you can find it in ..\Examples\Other\Sound folder of the compiler.
If you use Ctrl+Space option you will see the definition of the Sound_Init function
sub procedure Sound_Init (
dim port
as byte,
dim pin
as byte)
Now you can define Sound function on different ports and pins.
Best Regards