avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Problem with avr gcc compiler ? No warning ofmixeddat


From: Dan Roganti
Subject: Re: [avr-gcc-list] Problem with avr gcc compiler ? No warning ofmixeddata types
Date: Sun, 19 Apr 2009 15:46:49 -0400
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)



Weddington, Eric wrote:
 

  
-----Original Message-----
From: 
address@hidden 

	That's what libraries are for. Perhaps you should build 
your own vt100 library. See the avr-libc manual for more information:
	
<http://www.nongnu.org/avr-libc/user-manual/library.html> 
<http://www.nongnu.org/avr-libc/user-manual/library.html> 

That would be nice to have, but I usually get stuck working 
on the next project than upgrading the programming 
environment.  Perhaps this could be a good suggestion to add 
into the next upgrade for the avr-libc.
    

What are you suggesting we add to avr-libc?

Just what you mentioned before, a vt100 library. I don't know about everyone else, but I commonly use just a terminal display for communication over the serial port with 8bitter micro's, and not all the gui front ends that people make in windows. I get by lots of times just using ascii on my terminal.
The vt100 escape codes can be found online. Some of common escape codes is 'move cursor', 'clear line', 'blinking', 'reverse video' and some of them are unique to the actual vt100 terminal and not available on any pc.
http://vt100.net/docs/vt100-ug/
http://www.termsys.demon.co.uk/vtansi.htm
http://www.mit.edu/~vona/VonaUtils/vona/terminal/VT100_Escape_Codes.html

This is all I do for the 'move cursor' escape code;

//-------------------------------------------------------------------------------
static void move_cursor(uint8_t row, uint8_t col)
// Move Cursor escape code
// Esc [ row col f
{
    printf("%c[%d;%df",27,row,col);
}


=Dan
-- 
[ = http://www2.applegate.org/~ragooman/   ]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]