![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
mbed I2C slave memory device emulator for use with Raspberry PI
Diff: main.cpp
- Revision:
- 6:446ce292ed7f
- Parent:
- 5:b73ea174e997
diff -r b73ea174e997 -r 446ce292ed7f main.cpp --- a/main.cpp Tue Oct 14 14:54:32 2014 +0000 +++ b/main.cpp Tue Oct 21 09:51:17 2014 +0000 @@ -93,10 +93,12 @@ case CLEAR: pc.printf("Clearing the memory\r\n"); memory.reset(); + slave.stop(); break; case PRINT: memory.print(); + slave.stop(); break; default: