ts-7000
[Top] [All Lists]

[ts-7000] Re: TS 7260 & C or C++

To:
Subject: [ts-7000] Re: TS 7260 & C or C++
From: "stageelectronique" <>
Date: Wed, 23 Aug 2006 08:09:01 -0000
Thanks for the ASM.

>Then why ask about C#?  

It was a mistake,i want ask about C and C++. How to send my Hello
message on the hyperterminal(or minicom),LCD...

  
--- In  "Matt Godbolt" <> wrote:
>
> Hiyas,
> 
> > 
> > My hello message is in C or C++ and I use GCC cros-tool-chain !!
> 
> Then why ask about C#?  C#'s quite different to C and C++, especially
> when you're talking about embedded devices.
>  
> > Another question: I want to modify the LCD code give with the TS7260
> > kit but I dont andestand the asm code !!!
> > 
> > 
> > #define COUNTDOWN(x)        asm volatile ( \    
> >   "1:\n"\
> >   "subs %1, %1, #1;\n"\
> >   "bne 1b;\n"\
> >   : "=r" ((x)) : "r" ((x)) \
> > );
> 
> This code is a delay loop used by the LCD driver to wait a number of
> nanoseconds.  It's really quite specialised and is completely
> ARM-specific.  If your code isn't talking directly to hardware and you
> don't need to have precise* nanosecond delays, then you can safely
> ignore this code.
> 
> Matt
> 
> -- 
> http://xania.org/
> 
> * well, fairly precise :)
>









 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU