mrrwa / NmraDcc

NMRA Digital Command Control (DCC) Library
GNU Lesser General Public License v2.1
139 stars 54 forks source link

Problem with MultiFunctionDecoder #37

Closed christianloesel closed 4 years ago

christianloesel commented 4 years ago

Hello,

i have the problem that in my project the notifyDccSpeed callback never gets raised. Further the decoder doesn#t set its address correctly. I did help out with Flag FLAGS_AUTO_FACTORY_DEFAULT. But if I don't set this flag, any random value will be returned from CV 1. Can anyone help me?

My project is hosted here: https://github.com/christianloesel/Messwagen-NMRADCC/tree/master/Neigungsmesswagen

Thanks

kiwi64ajs commented 4 years ago

Hi Christian,

Hmmm... Looking at your code its not obvious what could be wrong.

Do you receive any DCC packets and/or does any of the notifyXXX call-back functions get called?

Can you email me a PDF of the schematic so I can see more about what you’re trying to do?

Regards

Alex Shepherd

Sent from my iPad

On 17/03/2020, at 11:10 PM, Christian Lösel notifications@github.com wrote:

 Hello,

i have the problem that in my project the notifyDccSpeed callback never gets raised. Further the decoder doesn#t set its address correctly. I did help out with Flag FLAGS_AUTO_FACTORY_DEFAULT. But if I don't set this flag, any random value will be returned from CV 1. Can anyone help me?

My project is hosted here: https://github.com/christianloesel/Messwagen-NMRADCC/tree/master/Neigungsmesswagen

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

christianloesel commented 4 years ago

I solved this. It was simply an error in the hardware :-( That's why i closed this issue.

Thank you for this great library!!!