News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Thomas Weinert:
Carica Chip 101 - Controlling An LED With PHP
November 05, 2013 @ 10:18:40

Every once and a while someone uses PHP for something interesting and different than the usual web application. In this post to his site Thomas Weinert shares an example - he uses PHP to control a LED via Carica Chip.

Some time ago, in this blog post, I explained the basic stuff about Arduino, Firmata and PHP. Now it is time for the next step. Carica Io and Carica Firmata have grown and got a third layer called Carica Chip. [...] Carica Chip provides an easy way to control a device. So let's start with an "Interactive LED" example.

He uses the Carica Chip library and the "skeleton" application command from Composer to make a basic application. A simple HTML page with on and off links is made and and basic Carica Chip server is set up and executed. It's a simple example, but it gives you an idea of how to set it all up. The Carica Chip package also allows for other interactions including working with servos and motors.

0 comments voice your opinion now!
carica chip introduction led arduino tutorial package control

Link: http://www.a-basketful-of-papayas.net/2013/11/carica-chip-101-controlling-led-with-php.html

blog comments powered by Disqus

Similar Posts

DevShed: Improving Exception Throwing when Auto Loading Classes in PHP 5

DevShed: Working with MySQL Result Sets and the Decorator Pattern in PHP

Developer Drive: Introducing Laravel, part 2

DevShed: Handling Attachments in MIME Email with PHP

SitePoint PHP Blog: PHP Job Interview Task: Day of Week Calculation


Community Events





Don't see your event here?
Let us know!


voicesoftheelephpant interview configure list extension conference release api series opinion install language podcast symfony composer community laravel version introduction unittest

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework