devicercode / ledmap Goto Github PK
View Code? Open in Web Editor NEWProcessing and Arduino code for automatic addressable LED mapping
License: MIT License
Processing and Arduino code for automatic addressable LED mapping
License: MIT License
There needs to be an edit to the processing code so that it says uint16_t for type otherwise it's putting out >255 values into a byte, needs some thought to not make it a mess. Fix after getting ideas on other output styles in case it makes a difference.
As above, also needs controls for forward and back and display for current number, probably do it so if position is already defined but a new one is clicked on then it replaces. Consider making current one flash or something for better clarity too.
Needs a drop down i can populate with known carefully measured values, can only do WS2812 and APA102 regular size pixels for now, estimate and display for chip-only, no lights on and all lights on max, perhaps an inbetween as well?
The serial write of lightsarray in processing ins't working as expected ... 'show all leds' on and off is working ... but when I try and do an auto mapping more than one led lights up simultaneously (up to 3 of them) during the mapping process ... usually one of them is colored red ... also with the 'showLedUnderMouse' more than one led lights up ... and nowhere near the mouse ... I have tested the arduino side of things and it seams to be coming from the byte serial write out of processing ... is this a versioning issue maybe? what version's were used for development? Is this possibly a signed unsigned issue perhaps in doSingleLED()? Is it even necessary to send the whole led array (lightsarray) over serial each draw frame to do this? couldn't it just be a simple protocol to step through the leds one by one?
arduino-1.8.6-windows
PROCESSING 3.4 (REV 0265) - 26 July 2018
As in create a button next to the menu for serial port selection so the user can disconnected a mapped setup and then attach a new controller to map without having to exit and re-open the program. it should repopulate the menu when clicked with whatever is currently connected.
Rework old log-time mapping for superfast large scale mapping. Add more error bits so it's something like 19/20 patterns for 2^16 (65536) leds.
All leds is good for showing whole area to confirm all leds are in view of the webcam but single led is better for setting detection threshold and brightness values.
For processing code in the map2d class, then use it for the mouseover light up part
needs int size support for output, also GUI toggle to select choice.
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.