Show Posts
Pages: [1]
1  Using Arduino / Displays / Sunlight readable graphic displays on: October 04, 2012, 10:22:26 pm
Hi
Can anyone reccomend a graphic display that is readable in bright light conditions - preferably full sun. I am currently using Displaytech 128x64 pixel monochrome display and the GLCD library. Everything is really good except I cant read it outdoors. I have destroyed one display already by increasing current in backlight to the point where the LEDS failed.
I have heard OLED displays are better, but because they are usually colour they are very slow, I need to refresh parts of the display 3 or 4 times per second.
Grateful for any help
2  Using Arduino / Installation & Troubleshooting / Mega 1280 power supply issue on: August 31, 2011, 02:44:48 am
Hi hope you can help
I will be running my 1280 board using a 9 volt power supply connected to Vin. I note that the 1280 will also draw power from the USB port when it is connected. My question is - will I damage anything if my 9V is connected at the same time as the USB is plugged in?

Thanks
Bryan
3  Using Arduino / Programming Questions / Re: Bitwise shift behaviour on: August 15, 2011, 07:47:41 pm
Thanks for your replies - sort of confirms what I had suspected. Either compiler or CPU actions not well documented

Its a bit unnerving though. Like when you push the brake and the thing goes faster!
So now I have to double check every line of code in case something like this crops up again.

Bryan
4  Using Arduino / Programming Questions / Bitwise shift behaviour on: August 15, 2011, 05:48:04 pm
Hi all
I am getting hopelessly confused
Here is some test code
Code:
void setup() {
  // initialize the serial communication:
  Serial.begin(9600);
  uint8_t  x=B11110000;
  uint8_t a,b,c;
  a=x<<2;
  b=a>>2;
  c=(x<<2)>>2;
  Serial.println(x,BIN);
  Serial.println(a,BIN);
  Serial.println(b,BIN);
  Serial.println(c,BIN);

}

void loop() {

}

and here is the output
Quote
11110000
11000000
110000
11110000

This is not what I expected. Surely the last two lines of output should be the same as each other.
Please help, thanks
5  Using Arduino / Programming Questions / Re: Class constructor not executing on: August 08, 2011, 10:05:18 pm
Thanks for your reply crimony - I'll take your advice

blt
6  Using Arduino / Programming Questions / Class constructor not executing on: August 08, 2011, 07:51:57 pm
Hi hope this is not a silly question
In the following code the class constructor does not appear to do anything.
I expect to see on the graphics display attached to my Mega 1280 "Hello foo" followed, after a few seconds, by "Hello bar"
I do not see "Hello foo"  but I do see "Hello bar"

can anyone help please

Code:
//TR6

#include "TR6Display.h"
#include "ks0108.h"   
#include "Arial14.h"     

TR6Display TR6_Display();

void setup()
{
        delay(2000);
        GLCD.Init(NON_INVERTED);
GLCD.ClearScreen();
        delay(2000);
        GLCD.SelectFont(Arial_14);
        GLCD.GotoXY(20, 2);
        GLCD.Puts("Hello bar");

}

void loop()
{
}


Code:
//TR6Display.h


#ifndef TR6Display_h
#define TR6Display_h

class TR6Display
{
public:
TR6Display();
};

#endif


Code:
//TR6Display.cpp

#include "Wprogram.h"
#include "TR6Display.h"
#include "ks0108.h"
#include "Arial14.h"

TR6Display::TR6Display()
{
        delay(2000);
        GLCD.Init(NON_INVERTED);
       GLCD.ClearScreen();
        delay(2000);
        GLCD.SelectFont(Arial_14);
        GLCD.GotoXY(20, 2);
        GLCD.Puts("Hello foo");

}
7  Forum 2005-2010 (read only) / Interfacing / Using Mega analog input features on: August 15, 2010, 05:15:17 pm
ATMega 1280 has analog input features that do not seem to be supported by the Arduino software compiler. These are (for example) differential inputs, more than one internal reference voltage. Is there any way I can access these features. I am new to Arduino and do not understand all the acronyms so please keep answer simple, however I do have programming experience including assembler. Thank you.
Pages: [1]