Closed Ecksteher closed 1 year ago
Hi @Ecksteher I think the problem is the definition of the DCC Input Pin. Try changing:
Dcc.pin(0, DCC_PIN, 1);
to:
Dcc.pin(DCC_PIN, 1);
Doing the above code change makes your code work for me on a RPI-Pico
Yes this solved my problem. but i tried bevore and it din't run before, probably I changed somting else to. Thank you verry much.
Hello i trying to get it runing on My Pi Pico. i head read a fiew times "ARDUINO_ARCH_RP2040" so i thinked it wud work. but as i uploaded my simple sniffer sketch it just output "Sniffer Start". and dhat's it. I tried also on an Arduino Nano and it worked.
On the Hardware side i used bridge rectifier for Ground and a voltage devider that converts the rail voltage to 3.3V clamped with a zener diode and feed it through an schmittrigger. than into my Controller.
Can somone help me pleas?