Page 185 - PDA Robotics Using Your Personal Digital Assistant to Control Your Robot
P. 185

PDA 08  5/27/03  8:47 AM  Page 161
                                      Chapter 8 / PDA Robot Palm OS Software Using Code Warrior 8.0
                                                                                    Figure 8.10
                                                                                    The Release and
                                                                                    Debug executables
                                                                                    in the OBJ directory.





                                 If  we  switch  back  to  the  Metrowerks  CodeWarrior  IDE  and  click
                                 Project/Make  or  hit  F7,  the  application  will  build  and  generate
                                 PDARobot.prc that can be loaded on the PDA and run (though nothing
                                 will happen when you press the buttons).
                                 It can be run on the Windows desktop by starting the emulator pro-
                                 vided by Palm OS (that was installed with the evaluation version of
                                 CodeWarrior).  To  do  this,  start  the  emulator  (after  downloading  or
                                 acquiring a ROM of the device) and in the IDE, click Project/Run or hit
                                 Ctrl+F5. Figure 8.11 shows the program so far, running in the Palm OS
                                 Emulator. It looks exactly the same running on the device.

                                                                                    Figure 8.11
                                                                                    PDA Robot running
                                                                                    on the Palm OS
                                                                                    Emulator.





























                                                                                               161
   180   181   182   183   184   185   186   187   188   189   190