Show Posts
Pages: [1] 2
1  Using Arduino / Programming Questions / Re: LCD SPI code from bascom on: September 27, 2013, 02:04:12 pm
anyone ?
2  Using Arduino / Programming Questions / LCD SPI code from bascom on: September 27, 2013, 08:45:17 am
Hi, i got lcd with uc1608 driver.
I wanna connect screen via SPI, i have start code but is for bascom.
Can someone please help me ?

link toLCD http://artronic.pl/o_produkcie.php?id=1069?


Quote
void swap_bits(x){
  PORTC_Bit7 = x; x=x>>1;
  PORTC_Bit6 = x; x=x>>1;
  PORTC_Bit5 = x; x=x>>1;
  PORTC_Bit4 = x; x=x>>1;
  PORTC_Bit3 = x; x=x>>1;
  PORTC_Bit2 = x; x=x>>1;
  PORTC_Bit1 = x; x=x>>1;
  PORTC_Bit0 = x; x=x>>1;
}

void strobe()    
{
  CD = 0; // command
  Read_wright_WR0 = 0;__delay_cycles(10); // wright
  enable_WR1  = 1;__delay_cycles(10);  // strobe
}


int main( void ){
  
DDRE=0xe0;DDRA=0xFF;DDRC=0xFF;
  
 __delay_cycles(1000000);
  
BM1=1; BM0=1;   // interfejs 6800 8bit


swap_bits( 0x26); // SET MR TC
strobe();
      
swap_bits( 0x3d); // set LCD mapping
strobe();

swap_bits(0xec); // set bias ratio
strobe();

swap_bits( 0x81); // set gain & potentiometer I bajt
strobe();

swap_bits( 0x72); // set gain & potentiometer II bajt
strobe();

swap_bits( 0x40); // start line number
strobe();
      
swap_bits( 0xaf); // display enable
strobe();
      
swap_bits( 0xa5); // all pixels ON
strobe();

3  Using Arduino / Displays / uc1608 lcd on spi / i2c ?? on: July 24, 2013, 03:45:52 pm
Hi

I got lcd with uc1608 driver, I want to use a smal ( as possible ) number of pins but i dont have a experience with a spi or i2c cennection

I need lib and connection

link to lcd

http://www.ebay.pl/itm/ART-New-LCD-240x128-D-COG-type-LED-b-l-W-KK-3-3V-CGG240128D02-DIW-R-/390616500393#ht_821wt_1165

Suggest me something
4  Using Arduino / Programming Questions / char string controled wia serial HELP on: January 29, 2013, 08:31:18 pm
Hi
I got some code and i want control char stings on the terminal/serial.

patr of code
prog_char string_0  [] PROGMEM = "On "
prog_char string_1  [] PROGMEM = "Off"

PROGMEM const char *string_table[] = {   
    string_0,   string_1 };

i need something like this

if arduino from serial read the "word"  -> char string_0

thx
5  Products / Arduino Due / Re: Minimum schematic design for arduino due on: January 23, 2013, 07:43:44 pm
Hi Folks !

Maby DIY ARM on one side pcb !

"If you dont need all Pins, but you want the ARM " smiley

I'm kidding, but something like that will be great !

For small projects especially for pojects with lcd where we have fast clock.

Bandofcs,  Look at this 
http://sklep.avt.pl/photo/product_big/f/5/6/1_f56bb5fd25d0.jpg
This is board is made in Poland is on a LPC1114 Cortex core,  What is the speed LPC1114 ??

Data
http://serwis.avt.pl/manuals/AVT1720.pdf

on board you have jumpers for change level voltage on  microcontroller 2,0; 2,5 and 3,3V
mamby i have pcb projects, if you want

Cheers Guys !



6  Products / Arduino Due / Re: SdFat for Due posted on: January 22, 2013, 09:02:16 pm
Hey Guys

I have LCD with SD card + shield for him + arduino DUE

the shield got this conection with sd card and due board

D_BUSY pin 7
D_CLK pin 6
D_CD pin 5
D_DIN pin 4
D_OUT pin 3
D_IRQ pin 2
F_WP pin 1 TX0
F_HOLD pin 0 RX0

Ok so, where i find pin definition in lib ?


7  Products / Arduino Due / Re: New UTFT Libray with Arduino ARM spport on: January 22, 2013, 07:09:37 pm
http://www.henningkarlsen.com/electronics/library.php?id=51
8  Products / Arduino Due / Re: Transfer program from MEGA to DUE on: January 22, 2013, 02:32:37 pm
what do I do with pgmspace?
9  Products / Arduino Due / Re: Transfer program from MEGA to DUE on: January 22, 2013, 12:11:49 pm
EEPROM on SSD ? smiley
10  Products / Arduino Due / Re: New UTFT Libray with Arduino ARM spport on: January 22, 2013, 11:22:58 am
Faster ?
This is a rocket ! smiley
11  Products / Arduino Due / Re: Transfer program from MEGA to DUE on: January 22, 2013, 10:49:28 am
bad this new year
12  Products / Arduino Due / Re: New UTFT Libray with Arduino ARM spport on: January 22, 2013, 10:43:08 am
Sorry,my phone does this by default

Now it's ok
13  Products / Arduino Due / Re: New UTFT Libray with Arduino ARM spport on: January 22, 2013, 10:13:08 am
Hi .

I have examples for you

Arduino DUE + 5" SSD1963 LCD 800 x 480
Speed on the OLD UTFT(mod for due) VS NEW UTFT lib

OLD ONE


NEW ONE !



This is It  !

14  Products / Arduino Due / Re: Transfer program from MEGA to DUE on: January 21, 2013, 11:33:25 pm
IC2 eeprom ?
15  Using Arduino / Displays / Big mono lcd 640x480 8,4" on: January 21, 2013, 08:03:13 pm
Hi Folks !

I got 8,4" mono lcd like this
http://www.artronic.pl/pic/640x480mono_photo_50k.jpg

Do you think arduino alive this old guy ?
Maby link for library ? smiley

Here is a datasheet
http://www.artronic.pl/pdf/en/EG9018Cbig.pdf

Greatest
Pages: [1] 2