Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Interfacing / Re: Nokia 6100 LCD Display - Arduino Playground on: August 12, 2010, 04:32:27 pm
Hi All,
I just got the sparkfun nokia LCD working by using phokur's code adjustments and the libraries above. Thanks! I am using a level converter so all the logic lines on the nokia get 3.3V.
I wrote a function to draw circles people might find handy.. It could be improved by adjusting the increment amount in the for loop relative to the size of the radius but here it is.

void draw_circle(int radius, int center_x, int center_y, byte color){
  for(float arg = 0; arg < TWO_PI; arg += 0.05 ){
     int ax = radius * cos(arg);
     int ay = radius * sin(arg);
     byte xpos = center_x + ax;
     byte ypos = center_y + ay;
     nokiaLcd.LCD_put_pixel(color, xpos, ypos);

Enjoy smiley
2  Forum 2005-2010 (read only) / Interfacing / Re: AVRUSB running on Arduino hardware with minishield on: June 22, 2009, 10:10:19 am
Hi Trying to get USBMouse library working on a Mac OS X.5.  Compilation goes fine but when I pug in my board I get similiar errors to what Phil got with his USB keyboard in MAc OS X.... :

 kernel USBF: 93641.362 [0x40a6600] The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of hub @ location: 0x1d000000)
 kernel USBF: 93646.417 [0x40a6600] The IOUSBFamily was not able to enumerate a device.

Anyone had any luck with USBMouse or USBKeyboard libraries on Mac OS X ??
Pages: [1]