Warning: Use of undefined constant DB_CHARSET - assumed 'DB_CHARSET' (this will throw an Error in a future version of PHP) in /home/forge/floriansweb.com/wp-content/plugins/wordpress-flickr-manager/FlickrManager.php on line 109
Arduino LED Matrix Control Part II | Floriansweb

Arduino LED Matrix Control Part II

IMG_0105
IMG_0106
IMG_0108
IMG_0107

With the Arduino app you can control a led matrix over wifi on your iphone.

Later you can save your „icon“ and load older ones.

Sourcecode is still a bit clunky. But it Works 🙂

- (void)drawRect:(CGRect)rect {
 
	CGContextRef context = UIGraphicsGetCurrentContext();
	if(isOn) {
		[color setFill];
	} else {
		[[UIColor grayColor] setFill];
	}
 
	CGContextSetLineWidth(context, 1.0);
 
	CGContextAddEllipseInRect(context, rect);
	CGContextDrawPath(context, kCGPathFillStroke);
}

Download Sourcecode

1 Comment

JohnJuni 17th, 2010 at 10:46 pm

Great creative use for a WiShield in combination with the iPhone!
Be creative and you will stay young!

-John

Leave a comment

Your comment