Arduino LED Matrix Control Part II


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!


Leave a comment

Your comment