etclabs / lighthack Goto Github PK
View Code? Open in Web Editor NEWUNOFFICIAL - Create your own OSC widgets in meatspace!
License: MIT License
UNOFFICIAL - Create your own OSC widgets in meatspace!
License: MIT License
Please add a license file to code, I think you use a MIT license.
#include <Wire.h>
#include "WiiLib.h"
WiiChuck chuck = WiiChuck();
void setup() {
Serial.begin(9600);
chuck.begin();
chuck.update();
chuck.calibrateJoy();
}
void loop() {
delay(20);
chuck.update();
Serial.print(chuck.readJoyX());
Serial.print(" ");
Serial.print(chuck.readJoyY());
Serial.println();
}
If output of this script is anything other than 0,0 it's some kind of calibration issue.
https://github.com/Jbithell/lighthack/blob/f1b22f5b82649a9a4866627ea0ee4c63c39bea1f/user_projects/nunchuk/nunchuk_src/nunchuk_src.ino attempts to fix this - I'll get user to try it and then if fixes problem submit a PR
So, I've wired it all up, several times. Loaded the sketch with OSC library several times, no errors. I only get 1 line of squares on the display and not one ounce of control. I am running an Uno. is v3 vital to this project working? Is there something missing in the code??
Thanks
JP
I would love to try and use the 16x2 display from this link here: http://wiki.sunfounder.cc/index.php?title=I²C_LCD1602#Step_3:_Copy_the_code
This uses Pins A4 &A5 for all data to the lcd instead of D2-5 +D11+12. Much simpler build. But I'm having problem getting it to work in the sketch. Any help would be greatly appreciated.
I know I would have to change the Encoders to use Pins A0+A1 and A2+A3 (not sure why A2 and A5 were originally used in the sketch since nothing is connected to them physically.)
JP
USB OSC Arduino Device List
Tested on Windows 7 based Ion console
Arduino Uno Genuine Yes
Osepp Uno R3 Plus Does not see USB device
Arduino 101 Genuine No
Arduino Ethernet with Arduino FTDI Yes
Arduino M0 Sees as USB Serial device but M0 not handshaking
Arduino Due Tries to handshake on programming port but Due tries on native port
Generic Nano ATMega328 Does not see USB Device
OSEPP Nano ATMega328 Does not see USB Device
Gravitech Nano ATMega328 Does not see USB Device
Teensy 3.2 Does not See USB Device
Update on Teensy. If I change the PID/VID to an UNO the console sees and talks to the board without issue.
Arduino ATMEGA2560 Yes
ATmega32u4 Sees USB device but does not try to handshake(This was with a Adafruit Circuit Playground)
I think we are dealing with some PID/VID issues where the console doesn't look for a serial port unless they match a list of some sort that it has.
Handshake is not initiated when USB device is plugged in before eos v3 software is started.
eos v3 software does not scan for com ports on already plugged in usb devices.
usb devices always need to plugged in after the software is loaded.
Per a discussion with Matt Pumplin on the ETC forums I think we should include this info on the readme.
I should also note that OSC over USB is not implemented / supported for Windows XP consoles and computers.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.