avr-game

diff dotmatrix.c @ 2:363acf3e61d4

wha?
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 20 Mar 2015 21:03:38 +0200
parents 9db99968b55e
children
line diff
     1.1 --- a/dotmatrix.c	Tue Sep 09 06:49:28 2014 +0300
     1.2 +++ b/dotmatrix.c	Fri Mar 20 21:03:38 2015 +0200
     1.3 @@ -44,8 +44,6 @@
     1.4  
     1.5  int dm_init(void)
     1.6  {
     1.7 -	int vop;
     1.8 -
     1.9  	DM_DDR |= PINMASK;	/* set used pins as outputs */
    1.10  	SET(DM_PORT, DM_PIN_CE);
    1.11  	SET(DM_PORT, DM_PIN_RST);
    1.12 @@ -58,7 +56,7 @@
    1.13  	/* set Vop (???) */
    1.14  	start_send();
    1.15  	send(CMD, CMD_FUNCSET(FSET_EXTENDED));
    1.16 -	send(CMD, CMD_EXT_VOP(80));
    1.17 +	send(CMD, CMD_EXT_VOP(78));
    1.18  
    1.19  	/* select function set (vertical addressing, basic set) */
    1.20  	send(CMD, CMD_FUNCSET(FSET_VERTICAL | FSET_BASIC));