Pseudoobject-oriented AVR code for RX