 | | problems with communications
|
|
I'm trying to get started with pbforth, but not finding it easy. While I know no forth, I'm happy with RPN (long-time HP calculator user) and stacks, dictionaries and defining words (ex-Postscript programmer). What I'm struggling with is getting as (...) (23 years ago, 25-Feb-02, to lugnet.robotics.rcx.pbforth)
|
|
 | | 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 (...) (23 years ago, 25-Feb-02, to lugnet.robotics.handyboard)
|
|
 | | 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 (...) (23 years ago, 25-Feb-02, to lugnet.robotics.handyboard)
|
|
 | | 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 (...) (23 years ago, 25-Feb-02, to lugnet.robotics.handyboard)
|
|
 | | 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 (...) (23 years ago, 25-Feb-02, to lugnet.robotics.handyboard)
|