I do remember "The Prisoner" I too watched the re-runs. They were usually on late though, like 3am.
What the heck where those giant beach ball thingies that got you every time you swam out into the sea? Wierd. And why didnt he just take a knife with him next time?
Anyway...(!) Forgetting all the beach balls, math and data storage for a second. Maybe you could explain this to me.
Even though my connections are correct, and when i write a program that cycles through 0 - 9 on portb ( the program does nothing else), i get numbers perfectly every time. However, if i do anything using those same port settings, ie binary or hex numbers in a lookup table, i get some ok charcters and some garbage. Same port settings, just in a lookup table.
I searched for errors in the data sheet and silicon and found a portb issue whereby if you drive rb3 low, or place an rc network on it, it will reset the device. I removed my 10k pulldown resistor and no difference. Still cycles perfectly, but craps out if the data is in a lookup table.
Could the garbage be because im using a var word and not assigning a high and low variable?
Im very confused by this. This is one of the three problems im having thats stopping me finishing this project. I just dont get it. Everyone seems to think the code should work.
Thanks for your reply by the way. And every one else. A great bunch of people.
Regards,
James.
Bookmarks