Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not connect to brick. #8

Open
clplaneguy opened this issue Mar 12, 2018 · 11 comments
Open

Does not connect to brick. #8

clplaneguy opened this issue Mar 12, 2018 · 11 comments

Comments

@clplaneguy
Copy link

clplaneguy commented Mar 12, 2018

InteliJ IDEA/leJOS plugin does not connect to the Lego brick with Windows 7. The brick is connected by both USB and BlueTooth. But. no application connection is made. Program runs on the PC. Should the IP address be used or the brick name?

@miguelcordovam
Copy link
Owner

Use IP address, it usually takes a couple of minutes. I haven't tried on Windows 7. You need to create a run configuration for Lejos.

@clplaneguy
Copy link
Author

clplaneguy commented Mar 13, 2018

  1. Install plugin and restart IDE. Done
    Windows 7
    IntelliJ IDEA: Version 2017.3.4 (Community Edition)
    LeJOS Plugin: Version 1.2

  2. Create a lejOS project. Done
    Project name: 3-13-2018_leJOS_PROJECT

  3. Go to File > Settings > Tools > LejOS Plugin. Done

  4. Set EV3_HOME and brick's name (Default is 10.0.1.1). Done
    EV3_HOME: C:\Program Files\leJOS EV3
    Name: 10.0.1.1
    File > Settings > Tools > leJOS Plugin is set

  5. Write code to your EV3. Done
    I have created a leJOS PROJECT/"Hello World" program.

  6. Create a run configuration. Done
    I have a Run/Debug Configurations setting. Should it say something specific.

  7. Enjoy your robot! Error
    The leJOS program(Hello World) does not find and is not looking for an EV3. I do not get an "EV3 not found" error. The program is running on the PC and is printing to the computer screen. That can be a nice option considering the small EV3 screen, but does not serve the purpose.

What am I missing?

@miguelcordovam
Copy link
Owner

miguelcordovam commented Mar 13, 2018 via email

@clplaneguy
Copy link
Author

Ping successful: 0% loss
ssh made successfully: It's been a long time. I do not remember what to do with it.
jdk down graded from 9 to 7.

No change. Output sent to computer.

@miguelcordovam
Copy link
Owner

Please share your code, I will try to replicate your issue.

@clplaneguy
Copy link
Author

clplaneguy commented Mar 13, 2018 via email

@miguelcordovam
Copy link
Owner

Use:
LCD.drawString("Test", 1, 1);
to print text on the brick.

@clplaneguy
Copy link
Author

clplaneguy commented Mar 13, 2018 via email

@miguelcordovam
Copy link
Owner

miguelcordovam commented Mar 13, 2018 via email

@clplaneguy
Copy link
Author

clplaneguy commented Mar 13, 2018 via email

@miguelcordovam
Copy link
Owner

Scala is not supported, maybe that's the reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants