Jump to content
View in the app

A better way to browse. Learn more.

Tinkerunity

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Geschrieben

Hallo,

 

ist es möglich die Bricks und Bricklets von Processing aus zu programmieren/kontrollieren?

Wenn nein: ist eine Processing Library geplant - wäre super

Wenn ja (wäre super): Processing ist ja sehr Java nah - ist es denn dann möglich Java libs einzubinden, wenn ja - wie?

 

Gruß

 

Klaus

 

Geschrieben

Ich hab's gerade mal getestet mit Processing 1.5.1 auf Linux und man kann wohl einfach die Java Bindings nehmen.

 

Hier mal was ich getan habe. Mein Processing Sketchbook Verzeichnis ist ~/sketchbook. Darin dann Verzeichnisse anlegen so dass sich ~/sketchbook/libraries/Tinkerforge/library/ ergibt. Darein dann die Tinkerforge.jar, also:

 

~/sketchbook/libraries/Tinkerforge/library/Tinkerforge.jar

 

Hier ein minimales Proof-of-Concept Beispiel, dass zeigt das zumindest das Import funktioniert:

 

import com.tinkerforge.*;

IPConnection ipcon;

void setup()
{
  try {
    ipcon = new IPConnection("localhost", 4223);
  } catch (Exception e) {
  }
}

void draw()
{
}

Geschrieben
  • Autor

Danke für die Tips.

Habe zur Zeit noch kein Brick usw. arbeite aber viel mit Processing. Werde mir mal ein Testbrick zulegen und schauen wie es klappt.

Das ist auf jeden fall eine Supermöglichkeit um Processing noch haptischer zu machen... und vielleicht kommt ja demnächst eine komplette Lib...

 

Was noch fehlt ist ein MIDI Bricklet...

 

Join the conversation

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

Gast
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.