Closed onelittlegoat closed 3 years ago
Good question. I included it because I saw it documented in Uwe Gartmann's code. I'm busy with some other software at the moment, which has a short deadline, but let me take a look and get back to you in a week or so.
Hey Brian,
Thanks for getting back to me. I’m using a hacked version of various other libraries but figured out how to set the flags. I found your library while trying to get a better understanding.
The following does the trick;
Package[23] |= (1<<1)
😊. It took me a while to realise the bit order is reversed. I was stuck for ages on why |= (1 << 6) wasn’t working.
Cheers,
Phil
From: Brian Taylor [mailto:notifications@github.com] Sent: Tuesday, 7 November 2017 9:17 AM To: bolderflight/SBUS SBUS@noreply.github.com Cc: One Little Goat phil@onelittlegoat.com; Author author@noreply.github.com Subject: Re: [bolderflight/SBUS] Channel 17 and 18 (#5)
Good question. I included it because I saw it documented in Uwe Gartmann's code https://os.mbed.com/users/Digixx/notebook/futaba-s-bus-controlled-by-mbed/ . I'm busy with some other software at the moment, which has a short deadline, but let me take a look and get back to you in a week or so.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bolderflight/SBUS/issues/5#issuecomment-342306362 , or mute the thread https://github.com/notifications/unsubscribe-auth/AXZ_kd_aQDTlGxCYqutnzOWm4qOmEfBUks5sz4VEgaJpZM4QSk-4 . https://github.com/notifications/beacon/AXZ_kafG3yUwjqt1fF5JPP1jKbEODKtsks5sz4VEgaJpZM4QSk-4.gif
Added CH17 and CH18 support.
Hey Brian,
Firstly, great work :) Secondly, what is the purpose of channels 17 and 18 and how and what do you write to them?
Cheers,
Phil