1 / 18

Using Eclipse IDE

Using Eclipse IDE. Required Software. Software Eclipse SDK. MMN Lab. About the driver. MMN Lab. About the driver cont’d. MMN Lab. About the driver cont’d. fantom.sys LEGO NXT driver libusb0.sys Lib-usb driver You must have both the two drivers installed on your PC. MMN Lab.

morse
Download Presentation

Using Eclipse IDE

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Using Eclipse IDE

  2. Required Software • Software • Eclipse SDK MMN Lab.

  3. About the driver MMN Lab.

  4. About the driver cont’d MMN Lab.

  5. About the driver cont’d • fantom.sys • LEGO NXT driver • libusb0.sys • Lib-usb driver • You must have both the two drivers installed on your PC MMN Lab.

  6. Eclipse Installation • Extract eclipse-SDK-3.4.1-win32.zip to your desired directory. • Execute eclipse.exe in the directory. MMN Lab.

  7. Creating a project MMN Lab.

  8. Creating a project cont’d MMN Lab.

  9. Creating external tools MMN Lab.

  10. Creating external tools cont’d MMN Lab.

  11. Creating external tools cont’d MMN Lab.

  12. Creating external tools cont’d MMN Lab.

  13. Using Eclipse MMN Lab.

  14. Using Eclipse cont’d MMN Lab.

  15. Using Eclipse cont’d MMN Lab.

  16. Some methods • For LCD class • drawString(String str, int x, int y); • drawString(String str, int x, int y, boolean invert); • drawInt(int i, int x, int y); • drawInt(int i, int places, int x, int y); • drawChar(char c, int x, int y, boolean invert); • clear(); MMN Lab.

  17. Some methods cont’d • For Button class • 4 instances • Button.ENTER (code: 1) • Button.LEFT (code: 2) • Button.RIGHT (code: 4) • Button.ESCAPE (code: 8) • boolean isPressed(); • static  int waitForPress() • static int readButtons(); MMN Lab.

  18. Lab2 • The NXT LCD screen is 16 characters wide and eight characters deep • Write a program to show all the student numbers of your group in the way just like the staff list in a movie. (Run as infinite loop). After pressing “Enter”, exit the program. x ranges from 0 to 15, and y from 0 to 7. MMN Lab.

More Related