Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
OverSamplingSimplex Example: Transmitter code KO with NOT_ASSIGNED? #104
I could not manage to make the example Local/OverSamplingSimplex work when configuring the pin in the Transmitter as instructed:
However, configuring the pin as follows seems to work as expected:
I'm note sure if I'm doing something wrong or if there's a bug somewhere?
Note: The problem arises too when directly connecting both arduinos with a simple wire instead of using RF modules.
We also plugged an LED in place of the transmitter to double check whether the RF transmitter was the problem or not, and it confirmed that the output pin (12) of the ATMega328P was staying low when using
Thus, it seems like the code is not initiating any transmission in this latter case.
Ciao @pacproduct I will try to be as precise as you were detailing your experiment.
It is described in the documentation but got lost during development in this sketch.
Reading back the code made me consider:
For your work to continue unaffected you should simply call the method as suggested.
I will reference a commit moving the mode in the strategies, knowing the pins they should be able to automatically set the mode accordingly and expose a setter for user as now implemented in the PJON class.
Many thanks for your fast responses, I'll carry on testing your library that looks promising :)
My 2 cents:
Maybe worth adding the
Anyway keep up the good work :)
@pacproduct ciao, can handled completely by the strategy, If a pin is
I agree to your proposal of repeat in io-setup an example of
added a commit
Dec 6, 2016
referenced this issue
Dec 6, 2016
I must say I'm not sure to get what you mean...
AFAIK, the communication mode feels like it does not belong to strategies because they do not alter it, they simply use the mode that was defined previously. If that makes sense...