examples/modules/mod_test/README
raw| 1 | mod_test |
| 2 | |
| 3 | The mod_test is a very simple example of PIC code interfacing with |
| 4 | gpsim modules. The modules illustrated are pullup and pulldown |
| 5 | resistors. Two of each are instantiated and connected to the lower |
| 6 | nibble of portb. |
| 7 | |
| 8 | The PIC program is a simple loop that writes values out to port B. |
| 9 | |
| 10 | |
| 11 | RUNNING |
| 12 | |
| 13 | The example is run by: |
| 14 | |
| 15 | |
| 16 | $ gpsim -c mod_test.stc |
| 17 |