Module expanders tutorial?

That’s interesting. I think that I may be essentially doing the same thing when I assign the structures like:

// defined as class variables
GrainEngineExpanderMessage *producer_message = new GrainEngineExpanderMessage;
GrainEngineExpanderMessage *consumer_message = new GrainEngineExpanderMessage;
// Assigned in the constructor
leftExpander.producerMessage = producer_message;
leftExpander.consumerMessage = consumer_message;

The above :point_up_2: is code that is successfully running in my GrainEngineMK2 expander. Here’s a thread where the author takes the same approach:

This is all starting to come back to me, so I may be able to sort this out tonight, or at least bring some more specific questions.

Perhaps one question is – am I supposed to be reading from leftExpander.consumerMessage? This might be something I’ve been doing wrong. ooohhhhhh… :bulb: I think it’s starting to all make sense. I’ll work on this again tonight!

1 Like