Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to send waves with WAVE_MODE_REPEAT_SYNC? #2

Open
xtagon opened this issue Nov 25, 2017 · 1 comment
Open

Is it possible to send waves with WAVE_MODE_REPEAT_SYNC? #2

xtagon opened this issue Nov 25, 2017 · 1 comment

Comments

@xtagon
Copy link
Contributor

xtagon commented Nov 25, 2017

Hi,

Thank you for creating this library. I am starting to use it for a Nerves project, but I found out I need to use WAVE_MODE_REPEAT_SYNC instead of WAVE_MODE_REPEAT. Is this possible using pigpiox? I'm willing to contribute of course.

I found this http://abyz.me.uk/rpi/pigpio/pdif2.html#wave_send_using_mode but it seems like there isn't an equivalent command code for the socket interface.

Any idea where I should start? Thanks!

@xtagon
Copy link
Contributor Author

xtagon commented Nov 25, 2017

Ah-hah, found it! Socket command WVTXM exists, which lead me to:

waveform_transmit_mode: 100,

So I should be able to add a wrapper function for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant