Page 1 of 1

Neopiexl

Posted: Fri Mar 11, 2022 5:58 pm
by david.b.taylor
Is there any Neopiexl support?
or support on SIP protocol?
or support on One wire protocol?

New to SIP stuff. I would like to write libs tools for Neopiexl if there are none out there.

Thanks,
David.

Re: Neopiexl

Posted: Fri Mar 11, 2022 7:29 pm
by TomKerekes
Did you mean SPI? If so see the SPI V6.c example. I'm not aware of any support for the others.

Re: Neopiexl

Posted: Wed Mar 16, 2022 6:24 pm
by david.b.taylor
Thank you for the reference. I looked it over. The documenting is great (NOT!) ;-)
I will figure it out and give you an update with this project.
David.

Re: Neopiexl

Posted: Thu Mar 17, 2022 1:26 am
by david.b.taylor
OK, this file makes very little since (SPI V6.c)
Where dose port get set or what is the SPI port?
Where does one init. nodes?
Where dose one send data to node?
Thanks,
David.

Re: Neopiexl

Posted: Thu Mar 17, 2022 2:38 am
by TomKerekes
Hi David,

It would be helpful to know what you are trying to do.

What kind of device are you trying to communicate to?

For what purpose?

Not sure what you mean by "port" or "nodes"

Do you know what SPI is?

The IO pins used are defined at the beginning. Normally 4 are required.

The call:

Code: Select all

	SPI_OUT(0xAA);
is used to send the byte 0xAAto the device.

You might read this.

Re: Neopiexl

Posted: Thu Mar 17, 2022 3:24 pm
by david.b.taylor
Thank you for clarification. Maybe SPI is not the direction I should pursue. The Neopixel light use a one wire communication library.
The goal is to use the Neopixel to control lights colors on a zone in machine using Klop and not an extra PLC to control the lights.
The Arduino uses the One Wire Library to control temperature sensors, lights and many other devices. The One Wire seems to be gaining in popularity.
If I could use the Kflop C to control the Neopixel, if possible.
What do you think, is it possible to do this.

David.

Re: Neopiexl

Posted: Thu Mar 17, 2022 4:59 pm
by TomKerekes
Research what the protocol is.