[En-Nut-Discussion] AW: Newbie questions

Frank Koss frank.koss at wittmann-robot.de
Sun Mar 12 13:05:47 CET 2006


Hello Ernst and all other guys,


Ernst Stippl wrote:
> 
> Ad 4) WinAVR will not help because it compiles for AVR-rype CPUs, but the
> Ethernut 3 uses the ARM-type CPU chip. Because of this, butconf and the
> nut/os build did not generate the context.o after which Winavr is looking.
> 

This makes sense :o)


Ernst Stippl wrote:
> 
> Ad 2) 
> ... If you want to compare your sample-progs compile results, I have setup
> a
> website at http://www.es-business.com/ethernut look at Nut/OS versions vs
> compiler versions and click on the "details" link of the respectiv
> row/col.
> 

Good work! I will compare my configuration to this.


Actually, after my LED is blinking, i try to query inputs.
I cannot figure out how to assign the port from an output to an input and
how to read the input state.

outr(PIO_OER, _BV(2)); works for switching an output for my led

Of course I've read the API referece and googled the whole morning with no
results.
Unfortunately there are no code examples included in the API reference as i
know it from the function overwiev for PHP at php.net

Best Regards,
Frank

--
View this message in context: http://www.nabble.com/Newbie-questions-t1264649.html#a3363585
Sent from the MicroControllers - Ethernut forum at Nabble.com.




More information about the En-Nut-Discussion mailing list