Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toHex function #16

Closed
fynixtech opened this issue Aug 21, 2014 · 2 comments
Closed

toHex function #16

fynixtech opened this issue Aug 21, 2014 · 2 comments
Assignees

Comments

@fynixtech
Copy link

Hello, I am currently implementing your library and an mDNS library in my project using an ethernet shield allowing me to use arduino.local to access the system. http://youtu.be/RrKxl6FkfMI
I am wondering if it is possible to send other datatypes other than string to the function calls. I am trying to send color values to a neopixel LED using params e.g arduino.local/led?params=0xFF0024. I can do it using the toInt() function and then enter the hex value in decimal but that makes it a little harder. Do you have any suggestions or are you planning to implement this functionality later.

@marcoschwartz
Copy link
Owner

Hello, first thanks a lot for using my library in your project and publishing a video about it! Being able to send other data than Strings is a good idea. I added this feature request on my todo list and I will keep you updated on the progress!

@fynixtech
Copy link
Author

Thats great. Thank you. For mDNS on ethernet w5100, I use https://github.com/neophob/EthernetBonjour. I have currently updated the project, I am now running 4 SSR 16amp relays (S216S02) and added a OLED lcd to display the status of each device in the system. To take care of the toHex functionality in the meantime. I send the data as something like 255255255 and then use substrings and toInt to get the individual color values and send to the neopixel library. It works great but is limited in flexibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants