Shop OBEX P1 Docs P2 Docs Learn Events
CTRA-TV conflict ? — Parallax Forums

CTRA-TV conflict ?

janbjanb Posts: 74
edited 2007-06-21 00:54 in Propeller 1
Hi,
I'm trying to use TV_Text OBJ and generate a frequency using CTRA on a different cog.
The attached example does not want to run.
I can get working either display on TV or blinking LED on pin0, but not both
Can you advise?
In reality my problem is more complex and reversing the order: first activate CTRA next TV would cause other conflicts.
Thanks
Jan

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-06-20 05:34
    Try making the stack space larger, like 20 or 32 longs. 16 levels is a little tight, especially when you're calling subroutines from the outer level.
    It looks like the frequency synthesizer routines can use at least 15 or 16 levels just for local variables and stack frames, let alone temporary variables during expression evaluation.
  • janbjanb Posts: 74
    edited 2007-06-21 00:54
    Thanks
    it cured my problem
    Jan
Sign In or Register to comment.