Code to display sensor input of Axis y, If the user presses 'e' then exit the loop. Not working and can not figuer out why

Dependencies:   mbed

Revision:
0:8bba0e955d47
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri Apr 05 19:32:54 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/5e5da4a5990b
\ No newline at end of file