ponty / pysimavr

python wrapper for simavr which is AVR and arduino simulator
GNU General Public License v3.0
49 stars 14 forks source link

Referring to registers by name? #43

Open larsks opened 5 years ago

larsks commented 5 years ago

Is there a mechanism with which one can access the registers of the simulated mcu by name? Right now, I'm using:

avr.peek(0x3e)

But I want something like:

avr.peek(GPIOR0)