README.md

RP2040-decoder

This is a microzig-based rewrite of RP2040-Decoder.

This is only the software part, the hardware is the same.

Why

Because I wanted to learn RP2040 programming in zig.

Is this any better?

No, right now it is not even finished, so You probably want to use the original.

TODO

Make it usable

  • Write flash handling, CV reading-writing part
  • DCC
    • S 9.2 Chapter B
    • S 9.2.1
  • PID: follow the blog post

Plans

  • Replace DCC signal handling with some PIO assembly
  • Add sound support

References

  • https://github.com/gab-k/RP2040-Decoder
  • http://brettbeauregard.com/blog/2011/04/improving-the-beginners-pid-introduction/
  • https://www.nmra.org/index-nmra-standards-and-recommended-practices