Go Down

Topic: How to submit a change? (Read 531 times) previous topic - next topic

bfontecc

Hi all.

I have been pretty frustrated with the ASCII only Serial Monitor in Arduino and I would like to implement a hex/binary mode. In its most basic form it would not display offsets but simply the data.

I went here:

https://github.com/arduino/Arduino/blob/master/app/src/processing/app/SerialMonitor.java

and found this:

  public void message(final String s) {
    SwingUtilities.invokeLater(new Runnable() {
      public void run() {
        textArea.append(s); // <------------------
        if (autoscrollBox.isSelected()) {
         textArea.setCaretPosition(textArea.getDocument().getLength());
        }
      }});
  }

I'm thinking I can just modify this method to check a conditional and toggle it with a JButton. I am at school right now though, and we don't have eclipse in these labs. When I get home I want to change this but my questions are...

a.) What do I have to do to get this compiled assuming I have git and Eclipse, and I clone this repo? Are there libraries and packages I need? Is there documentation for doing this? I can only find a very generic README and how-to's for compiling it as-is on the command line.
b.) Would do I do with my modified version? I have only used git for personal use and I don't know how to offer up these changes to a larger project.

Thanks in Advance,
Bret Fontecchio
BF

WizenedEE

a) https://code.google.com/p/arduino/wiki/BuildingArduino

b) You need to make an account on github and either add an issue if you don't have code or fork their repo, push your changes to your repo, and submit a pull request.

The arduino team does not accept new features added in very often but you can try

Go Up