How to build a simple LED RESTful service in Raspberry PI?


 
Thread Tools Search this Thread
Top Forums Programming How to build a simple LED RESTful service in Raspberry PI?
# 1  
Old 07-22-2014
How to build a simple LED RESTful service in Raspberry PI?

Hi guys, I would like to seek advise or help on how to build a simple LED RESTful service in Raspberry PI. I need to be able to get my LED to light up or off whenever I type localhost:3000/GET/1/1 or something. New to it and hope you guys could help me out with it as soon as possible, thanks in advance, guys.
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Project with Raspberry Pi

i have been given a raspberry Pi with some applications i am told run in Unix. I do not know much (close to nothing about Unix) that's why I'm here. I need someone to remote view (team viewer) into my machine and try and show me how to get this application running. If there is success there... (1 Reply)
Discussion started by: supaflygy
1 Replies

2. What is on Your Mind?

Raspberry PI

The small red box to the left of TV is the Raspberry PI. Successfully installed and running Raspbian Wheezy. I learnt about Raspberry PI from Neo here on unix.com. Thanks to you Neo :b: (6 Replies)
Discussion started by: balajesuri
6 Replies

3. UNIX for Dummies Questions & Answers

Adding SDK Build on Kernel Source Build

Hi, So I downloaded this kernel source and was able to build it successfully. But I want to add this SDK source code inside, can anyone help me how to do this? Note that the SDK source can be built by itself. I added the SDK in the main Makefile: init-y := init/ #added SDK... (0 Replies)
Discussion started by: h0ujun
0 Replies

4. What is on Your Mind?

Raspberry Pi anyone?

Anyone order or get the new Rasberry Pi? I'm still waiting. Even though it's a fun project, I think these will turn out to be toys for people who already have PC's, and a boon to those who do not. But that is not stopping me. If my wallet holds out, maybe I can build a Raspberry Pi beowulf... (1 Reply)
Discussion started by: jim mcnamara
1 Replies

5. Shell Programming and Scripting

Calling RESTful web services from Unix ?

Hello, I need to make a function call to a RESTful web service. I tried using curl command but it throws an error 'Mathod not allowed' curl --request POST <link> Could someone confirm if Unix can call a RESTful web service and share some examples around the Syntax Thanks in Advance :b:... (2 Replies)
Discussion started by: amitshete
2 Replies
Login or Register to Ask a Question
ULED(4) 						   BSD Kernel Interfaces Manual 						   ULED(4)

NAME
uled -- USB LED driver SYNOPSIS
To compile this driver into the kernel, place the following lines into your kernel configuration file: device uled device usb Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): uled_load="YES" DESCRIPTION
The uled driver provides support for the Dream Cheeky WebMail Notifier device. Subsequently, the /dev/uled0 device can be used by userland applications. IOCTLS
The following ioctl(2) commands can be performed on /dev/uled0, which are defined in <dev/usb/uled_ioctl.h>: ULED_GET_COLOR The command returns LED colors with values for RGB. This ioctl(2) takes the following structure: struct uled_color { uint8_t red; uint8_t green; uint8_t blue; }; ULED_SET_COLOR The command sets LED colors with values for RGB. It uses the same structure as above. FILES
/dev/uled0 blocking device node SEE ALSO
ohci(4), uhci(4), usb(4) AUTHORS
The uled driver was written by Kevin Lo <kevlo@FreeBSD.org>. BSD
September 5, 2014 BSD