oXs sequencer - question.

Development & General Chat for the superb openxvario project.

Moderator: rainer

Post Reply
User avatar
kalle123
Posts: 905
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

oXs sequencer - question.

Post by kalle123 »

Just trying to put my hands on the sequencer.

Just a bench test to understand .... (1W power LED, 2N2222 and 1K resistor)

Works! But I do not understand the meaning of those 3 marked lines.
Maybe I overlooked it in the documentation :?

define SEQUENCE_UNIT 2
#define SEQUENCE_0
#define SEQUENCE_100

br - KH
Attachments
Bildschirmfoto_2020-11-30_20-42-57.png
(56.38 KiB) Not downloaded yet
IMG_20201130_205130.jpg
(91.81 KiB) Not downloaded yet

User avatar
kalle123
Posts: 905
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: oXs sequencer - question.

Post by kalle123 »

Sorry for the post.

Think, I got it now (was late yesterday) :mrgreen:

Image

SEQUENCE_UNIT 2 --- the PPM-in pin

SEQUENCE_0 --- PPM value 0%
SEQUENCE_100 --- PPM value +100%

But let me make a remark on 'SEQUENCE_UNIT'

Documentation says:
* oXs determines normally the sequence to be played based on the signal received on a PPM channel (see section 3 in order to set up a PPM signal).

So in my eyes you could set 'PIN_PPM' in chapter '3 - PPM settings' to pin 2 (for vario adjustment) and 'SEQUENCE_UNIT' to pin 3 for sequencer. But this is not working.

Adding a comment in oXs_config_advanced.h should make things clear

#define SEQUENCE_UNIT 3 // pin number, must be identical with activated #define PIN_PPM in '3 - PPM settings'

Just a proposal ;)

br KH
Post Reply

Return to “OpenXVario - an open source vario supported by the open source firmwares!!”