|
Hi there:
I've been trying to find a method of coding the NXT using C, however the
existing languages available, such as RobotC, or NBC/NXC etc all seem to be
C-like languages and not ANSI C.
This seems to be the trend, but does anyone know why plain C code can't just
compile and run on the NXT (using the appropriate ARM cross-compiler)?
Additionally, the C-ish NXT programming options are using the VM approach,
although I can't say whether it's because it's too difficult to use ANSI or not.
Thanks alot for your feedback.
Cheers
|
|
Message has 2 Replies: | | Re: NXT Programming with C Question
|
| (...) There's no reason you can't compile straight ANSI C and run it on the NXT. I was doing it last year and ran an ATMEL sample program that turned the NXT into the world's most expensive 256K (not M) Flash drive :-) The hard part is using the (...) (18 years ago, 19-May-07, to lugnet.robotics.nxt.nxthacking)
| | | Re: NXT Programming with C Question
|
| (...) I suspect it could, but I'm not sure that's an approach you want to take. For one thing, there's the question of how to address and handle all the special HW that is attached to the ARM inside the NXT... and furthermore communicate with the (...) (18 years ago, 19-May-07, to lugnet.robotics.nxt.nxthacking)
|
6 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|