K8055 write single digital Channel?

Hello everybody
i have an K8055 and i would like to run several (or at least one) Talking Skull/s for my Halloween Haunt.
my problem is that the Analouge Output has not enough Ampere to drive the jaw Motor.
on this point i saw the digital outputs. as in the Manual of the K8055 written, you have to use
an external Power supply to use the digital outputs but in the DLL Documentation, the Only way to
use the digital Output is to write the digital Data to all 8 Channels. now my Question (as in the Thread Title),
is there a way to write to a single digital output to use all 8 seperately?
sorry for my bad English and Thanks for your Replys.

mfg Reeeper

[quote]now my Question (as in the Thread Title),
is there a way to write to a single digital output to use all 8 seperately?[/quote]Yes, there is.
You can use the DLL functions ClearDigitalChannel and SetDigitalChannel to set a single digital output on or off.

Have you already downloaded the latest software package for the K8055?
If not, here is the link to the download page:
velleman.eu/distributor/supp … code=K8055
Download the: “Complete SDK Pack (Rev 4.0)”.

The package includes new K8055D.DLL, updated documentation and sample projects written in various programming languages.
Pleas read the “README.TXT” and the “K8055 & VM110 Getting Started.pdf”.

yes i have but my Question is
is there a way to set a single Digital Channel like in the Manual described for all digital outputs

[quote]WriteAllDigital
Syntax
void WriteAllDigital(int Data);
Parameter
Data: Value between 0 and 255 that is sent to the output port (8 channels).
Description
The channels of the digital output port are updated with the status of the corresponding bits in the data
parameter. A high (1) level means that the microcontroller IC3 output is set, and a low (0) level means
that the output is cleared.
Example
WriteAllDigital(0x55);[/quote]

and if you know maybe you can tell me what is the given Variable “Data” good for?
mfg freekster

I’m sorry but I don’t see what is the problem.
You asked: “is there a way to write to a single digital output to use all 8 seperately?”
The easiest way to do this is to use the functions ClearDigitalChannel and SetDigitalChannel.

If you like to use the function WriteAllDigital(int Data), then you have to specify every time the state of all the eight digital outputs.
If the Data is 1 then only digital output 1 is on.
If the Data is 2 then only digital output 2 is on.
If the Data is 3 then only digital outputs 1 and 2 are on.
If the Data is 255 then all the digital outputs are on.

ok thats what i wanted to know so is it right that the digital outputs can only be turned on or off right?
so i can’t control the Output Voltage like the 2 Analouge right?
thanks for Help
mfg Reeeper

[quote=“reeeper”]ok thats what i wanted to know so is it right that the digital outputs can only be turned on or off right?
so i can’t control the Output Voltage like the 2 Analouge right?
thanks for Help
mfg Reeeper[/quote]
Correct, digital outputs can only be turned on or off. That is the nature of “digital”, “1” or “0”, ON or OFF.

Hello
Yes there is quite a method by which you can do that. If you opt to use DLL functions and then turn towards ClearDigitalChannel and SetDigitalChannel then you can set a single digital output on or off as per your wish!