Author Topic: Nspire RS232 communication  (Read 2771 times)

0 Members and 1 Guest are viewing this topic.

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Nspire RS232 communication
« on: January 29, 2013, 12:36:49 pm »
Hi

I was looking for some tutorial or example code about the RS232 reading/writing stuff from the Nspire, but I did not find anything yet (I found the stuff on hackspire, but there's no code there if I'm not mistaken)
Has someone written some code to do this?

What I want to do is reading and writing from/to the serial port, because of the reading part it has to be done in C, unless there's another solution I don't know about.

Thanks
Nick

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: Nspire RS232 communication
« Reply #1 on: January 29, 2013, 12:42:37 pm »
nspireio has uart_getc() and uart_getline() implementations.
« Last Edit: January 29, 2013, 12:43:06 pm by lkj »

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: Nspire RS232 communication
« Reply #2 on: January 29, 2013, 02:18:45 pm »
nspireio has uart_getc() and uart_getline() implementations.
Thanks, never realised that