![](/news/x.gif) | | Re: Echoing printf to terminal
|
|
this is from george musser. enjoy. - fred My advanced library of routines ((URL) includes a kludgy way to echo printf() to the IC command line. Look at the function iprintf() in the file advlib_utility.c. The routine sets up a character pointer to (...) (22 years ago, 25-Feb-02, to lugnet.robotics.handyboard)
|
|
![](/news/x.gif) | | Re: Echoing printf to terminal
|
|
i don't know this offhand. you'd have to assemble the pcode source and look and see where it ends up. it's a ring buffer tho' so it might be a little tricky. you'd be better off patching the lcd print interrupt routine (it unspools one char per ms (...) (22 years ago, 25-Feb-02, to lugnet.robotics.handyboard)
|
|
![](/news/x.gif) | | Re: Echoing printf to terminal
|
|
this is non-trivial. The -loopback option isn't what you think it is; it's a flag telling the downloader that the low-level serial ckt has a hardware echo. it's relevant to an earlier 6811 design (the mini board), not the HB design. this would (...) (22 years ago, 25-Feb-02, to lugnet.robotics.handyboard)
|
|
![](/news/x.gif) | | Re: Interactive C
|
|
You have to coerce the int to a float, e.g: int i= 7; float j= 3.; float result; result = j * (float)i; The above should work. Please let me know if not. Fred (...) (22 years ago, 25-Feb-02, to lugnet.robotics.handyboard)
|
|
![](/news/x.gif) | | Echoing printf to terminal
|
|
Hi folks, We have been looking for a way to echo the printf()s on LCD to the IC terminal on host computer (using 2.86 - freeware). IC has a -loopback option, but apparently that only works for HB rev 1.5 and earlier. Is there a way to do this with (...) (22 years ago, 25-Feb-02, to lugnet.robotics.handyboard)
|