NerdKits - electronics education for a digital generation

You are not logged in. [log in]

NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.

Microcontroller Programming » Java Help

March 24, 2011
by hariharan
hariharan's Avatar

hey i wrote this java program. it will ask you for a string. after you input it,it will print the string. i want the string to be printed on the lcd. but how? this is the java code:

import javax.swing.JOptionPane;

class apples {
    public static void main(String args[]){
String fn = JOptionPane.showInputDialog("String: ");

    JOptionPane.showMessageDialog(null, fn, "LCD INTERFACE", JOptionPane.PLAIN_MESSAGE);

    }

}
March 24, 2011
by Ralphxyz
Ralphxyz's Avatar

So now where is your coding talking to the serial port (USB)?

Once you learn JAVA serial communications you should be able to modify the PS2 Keyboard Python code (make it JAVA) to communicate with the mcu LCD.

This would be a good utility to have so please post your working code.

Ralph

Post a Reply

Please log in to post a reply.

Did you know that you can read diagnostic data from some cars with a NerdKit? Learn more...