propeller program diagrams
Graham Stabler
Posts: 2,510
I'm trying to make some major changes to one of my programs and was sketching out the structure in terms of what was in the hub ram and what was in each cog. It struck me that some sort of general format might be useful
Attached is far from perfect but I thought it could be a talking point, I've sketched out some of the graphics demo. I wanted to show that the spin parts of each object (mouse graphics and TV reside in the first cog and the assembly is running in the other cogs communicating via hub ram and possible outputtin to the IO. I've drawn that twice so it doesn't get too messy.
I'm sure people will have much better ideas for ways to plan propeller programs but I thought I would set the ball rolling.
Graham
Attached is far from perfect but I thought it could be a talking point, I've sketched out some of the graphics demo. I wanted to show that the spin parts of each object (mouse graphics and TV reside in the first cog and the assembly is running in the other cogs communicating via hub ram and possible outputtin to the IO. I've drawn that twice so it doesn't get too messy.
I'm sure people will have much better ideas for ways to plan propeller programs but I thought I would set the ball rolling.
Graham
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The more I know, the more I know I don't know.· Is this what they call Wisdom?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheers,
Simon
www.norfolkhelicopterclub.co.uk
You'll always have as many take-offs as landings, the trick is to be sure you can take-off again ;-)
BTW: I type as I'm thinking, so please don't take any offense at my writing style
I sketched out my program last night, I found there is no point trying to document every single variable, there is just no need nor the space instead it works better to put the most important ones or clump them together as a block, whatever it takes for it to make sense.
Graham
Graham
That is true! Why not earlier?
Follow the link at "propeller programming aids
cmapspublic3.ihmc.us/servlet/SBReadResourceServlet?rid=1181572927203_421963583_5511&partName=htmltext
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The more I know, the more I know I don't know.· Is this what they call Wisdom?
I think they would be too dense to be useful. Imagine all those TV parameters for example, besides once you have written the program the diagram is less needed.
ErNa,
Did that already exist? I don't remember seeing it but perhaps I did and subconsiously remembered it though the idea of representing objects spanning cogs is something I have been thinking about representing diagramatically for a long time.
Why do you have so many P0s ?
Graham
You make a very good point.
It could be done very compactly by generating a PostScript file, but I am sure there are better options. The other limitation to generating such diagrams is that one would need a dynamic display and not a static image.
I am trying for a completely holistic understanding of the Prop, but the final synthesis is in my future. I think I am like other hackers. I tend to use objects by looking for hack points, and I tend to be completely oblivious to the number of cogs I am using.
I think your diagram is useful because it reminds us that we need to be constantly aware of cog usage. Now we can just print out your diagram and make note of what we are doing. (Simple things do have such power[noparse]:)[/noparse]
Your approach would be a useful standard in the online documentation of objects... and in teaching files.
Rich
The server created a HTML-page, when you access the map via a brower. If You install the cmap-client and log in, you have full access to the map, you can create own ones and use all features.
This suite has the intention to support collaboration and create knowledge pools. I alway wonder, why this technique is not used by those, who reach the limit of mindmaps.