Comments (3)
hey markus
I was asking myself some days ago, if the rainbowduino port still works - but that must be a yes.
Well I had a similar issue like you in the beginning - but I think there is no issue here. in the neorainbowduino i defined the i2c address as hexadecimal, while in the pixelcontroller config file the regular decimal address is requested.
So the easiest solution in this case would be, adding a comment like
#=========================
#settings for rainbowduino
#=========================
#i2c destination address + layout definition
#Hint: the rainbowduino define its i2c address in HEX while we need a DECIMAL address
what do you think`?
cheers and thanks
from pixelcontroller.
Hi,
With that hint it should be pretty clear that you have to configure the Rainbowduino IDs in decimal. I was just wondering if it was intendend to log the IDs in decimal instead on hex. For my example I would have expected that it would also print the hex value for e.g. my 0x11 id instead of the decimal value:
Sep 07, 2011 12:52:53 AM com.neophob.lib.rainbowduino.Rainbowduino sendFrame
INFO: Send data to device 17
Nevertheless I'd suggest to change the two occurrences of Integer.parseInt() in the parseI2cAddress() method to Integer.decode(s) which simply accepts both ways of defining the I2C IDs:
layout.row1.i2c.addr=0x11,0x12,0x13,0x14
layout.row2.i2c.addr=0x15,0x16,0x17,0x18
layout.row1.i2c.addr=17,18,19,20
layout.row2.i2c.addr=21,22,23,24
Greetings,
Markus
from pixelcontroller.
Thanks for the hint about Integer.decode(s) - I included it in the refactored properties code, thanks!
from pixelcontroller.
Related Issues (20)
- Can we broadcast to multiple IP addresses ?
- Client not working when custom matrix size is set
- Migrating from Java 8 to 11 HOT 2
- Pixelcontroller Custom Mapping Code
- one thought on java-performance with CLI HOT 1
- java as a service? running 24/7 HOT 2
- CLI-version 2.0. runtime-error HOT 1
- Feature Request: More Preset numbers, Numeric Input to save beyond actual Limit (142) HOT 1
- ver2.1.rc1: client/Server error: picConCli says "Adress already in use" HOT 4
- sound analyzer on linux HOT 1
- preset nr missing in log. nr woul be helpful to debug missing graphics.. HOT 6
- Working Arduino Hardware for tmp2ser-Firmware? Only Teensy? HOT 10
- The librxtxSerial.so in the repo is 32 bit only HOT 8
- Featurerequest: Integrate MQTT
- Featurerequest: Change Visual #1/2 in GUI with a click HOT 3
- Feature Request: Open up to Homeautomation (really, please ....!!!)
- Teensy 3.0 or 3.1 ?? HOT 1
- Server/client OSC Buffer Overflow or Underflow HOT 1
- arduino + LPD6803 dont work HOT 4
- Error compiling "Failure to find org.qbang:rxtx:jar:2.2" HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pixelcontroller.