Need help to learn
TC
Posts: 1,019
Hello all.
I am new to the propeller world, and I am learning how to program it. I am working on a learning project, I have a NX-1000, and using the 16 leds only I want to make a flash pattern program using pins (8..23). Where I load the patterns into the EEPROM then the prop will output to the pins. I would like a little point in the right direction. But I DON’T WANT CODE!!! If you tell me the code then how could I learn. I just need to know where I should look in the manual. I will post any and all updates so others could learn too. Thanks to all.
·
TC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
We all make mistakes when we are young………That’s why paste is edible!
I am new to the propeller world, and I am learning how to program it. I am working on a learning project, I have a NX-1000, and using the 16 leds only I want to make a flash pattern program using pins (8..23). Where I load the patterns into the EEPROM then the prop will output to the pins. I would like a little point in the right direction. But I DON’T WANT CODE!!! If you tell me the code then how could I learn. I just need to know where I should look in the manual. I will post any and all updates so others could learn too. Thanks to all.
·
TC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
We all make mistakes when we are young………That’s why paste is edible!
Comments
Then you can read chapter 5 [noparse]:)[/noparse]
More specifically page 208-211 which covers DAT blocks will see you right assuming you have the basics of setting pins to outputs and creating a loop etc.
Graham
·· There won't actually be a section in the manual on how to flash LED patterns from EEPROM.· Instead there will be good explanations and examples of individual instructions.· You'll definately want to read through the tutorial section trying things out if possible, then give the remaining chapters a good read through.· Then, with all the example objects you should be able to come up with something.· Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Graham
·
DATA·· pattern1·····················
WORD··········· %1000000000000000
······················· WORD··········· %0100000000000000
······················· WORD··········· %0010000000000000
You get the idea
·
·
Main:
·· For times = 0 to 5·······························‘ how many times to do pattern
··········· For pattern = 0 to 15··············· ‘ ·pattern counter
··········· Read pattern1, outs
··········· Next
·· Next
·
Now this is just an idea of what I did. I have read the manual about 2 times and I get lost (not the brightest candle). That is why I am just looking to try to understand what I need to do. Maybe A little code could help. I got a little lost on the Object Block, and making a working Object. But I am still trying to understand it.
·
Thanks to all
TC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
We all make mistakes when we are young………That’s why paste is edible!
Don't punish yourself by repeated reading if its not going in. Why not work through the examples in the sticky beginners example section, then you can go back to your flashing LEDS.
Alternatively post YOUR code so people can suggest where you are going wrong.
Graham
TC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
We all make mistakes when we are young………That’s why paste is edible!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Who says you have to have knowledge to use it?
I've killed a fly with my bare mind.
TC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
We all make mistakes when we are young………That’s why paste is edible!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
"Chip and Beau's Propeller corner" Tune in next week on how to interface your Propeller to a toaster, I can see it now.
Graham
p.s. Camtasia is great software for doing it.