Go Down

Topic: Arduino Due (released Oct 22, 2012) Compatibility (Read 36346 times) previous topic - next topic

Graynomad

Quote
Then you've successfully ported CLI. phew!

One down ? to go.

I'm porting the Arduino core stuff onto LPCs, slowly but surely :) I think I can run any standard program now but haven't tested that much I admit.

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

GoForSmoke


There are gotchas though, on the LPCs the GPIO ports don't work until you enable their clock, I spent some time wondering why my writes had no affect. Same goes with the  other peripherals.

Presumably this sort of thing will not bother any Due users.

_____
Rob


Arduino has Serial.begin() and TBH I don't know what-all that does. LPC.begin()?

Nick Gammon on multitasking Arduinos:
1) http://gammon.com.au/blink
2) http://gammon.com.au/serial
3) http://gammon.com.au/interrupts

Graynomad

Serial.begin() just enables the UART, sets the baud rate etc.

On the Due the equivalent of an LPC.begin() will be in init() I would think. That's why they get the big bucks, so we don't have to worry about such things :)

_____
Rob
Rob Gray aka the GRAYnomad www.robgray.com

freeze

"You think i can use a DUE on my project of a spaceship to go to the Moon ?!
PS- My Arduino UNO didnt had enough Sram ..."

http://downloadsquad.switched.com/2009/07/20/how-powerful-was-the-apollo-11-computer




GoForSmoke

When the first landing was on the way down, a side program that was loaded crashed the computer.

That one caused a panic, the error message was a number btw.

Nick Gammon on multitasking Arduinos:
1) http://gammon.com.au/blink
2) http://gammon.com.au/serial
3) http://gammon.com.au/interrupts

Go Up