Jump to content

Java: Interface für CoProzessor-Bricklets


Recommended Posts

Wäre es denkbar, die gemeinsamen Methoden der CoProzessor-Bricklets über ein Java-Interface verfügbar zu machen?

Sonst können diese Methoden, die stets die selben sind, nicht generisch angesprochen werden.



Nur als Beispiel:

public interface CoProcessorDevice
public BrickletMotionDetectorV2.SPITFPErrorCount getSPITFPErrorCount();
public int setBootloaderMode(int mode);
public int getBootloaderMode();
public void setWriteFirmwarePointer(long pointer);
public int writeFirmware(int[] data);
public void setStatusLEDConfig(int config);
public int getStatusLEDConfig();
public int getChipTemperature();
public void reset();
public void writeUID(long uid);
public long readUID();


Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...