Shop OBEX P1 Docs P2 Docs Learn Events
Starting a new cog to "LCD display" within the " jm_ pixel controller program"- Issue resolved. — Parallax Forums

Starting a new cog to "LCD display" within the " jm_ pixel controller program"- Issue resolved.

msiriwardenamsiriwardena Posts: 301
edited 2022-03-08 12:57 in Propeller 2

I have added - cogspin(1,Old_Lcd,@ lcdStack) follwed by cogspi(0,main,@maicStack)
The pub Old_Lcd - only display "Hello".
I have placed the " cogspin(1,Old_Lcd,@ lcdStack)" in all possible places within pixel code.

The very first i tried was to start cog#1 in the main program before any other code and many other
places in the pixel code.
It works when placed in the repeat loop but lcd screen refreshes very fast -repeat loop.

I need some help in starting a second cog so both pixel code and lcd display works.

Thank you.

siri

Comments

Sign In or Register to comment.