Here is the source for a sensor – in this case just a slider – connected to a servo, each phidget connected to plain USB. import com.phidgets.*; import com.phidgets.event.*; InterfaceKitPhidget ikp; AdvancedServoPhidget asp; float sensorVal; void setup() { size(400, 300); fill(255, 0, 0); setupServo(); setupIK(); } void draw() { readIK(); // clear the previous frame, […]
Uncategorized
ServoPhidget
Apparently ServoPhidget has been deprecated. Use AdvancedServoPhidget instead. Typical symptoms are that waitForAttachment() does not appear to work since it cannot find the device at all.
MAC and IP addresses
In Windows the arp -a command lists all devices (on same subnet?) as a list with IP’s and corresponding physical MAC addresses. Good to know. In linux arp -e or even better arp-scan provides a more comprehensive overview of network clients.
MAC and IP addresses Läs mer »
Inbox Zero
This spring I decided to do something about my mail inbox that have been growing steadily since around 2005. Although I have attempted every now and then to keep it tidy, I was now determined to clean it up once and for all. I had seen a new app from a small company that was
Estimote
Today a colleague dropped an Estimote on my desk (or rather I grabbed one from his desk and promised to return it in one piece…) and one hour later getting all the Gradle files to play nicely I have the Android Demo application up and running. Estimotes are small BLE beacons that can be used
Materializing
It was a blast to watch Google I/O last week. The upcoming set of smart-watches looks seriously interesting and I might have to get one of those Moto 360’s. Just for developing of course as I haven’t used a wrist watch for well over 15 years. What appeals to me at this point is the