hello
TRISD=0b11111110;
WHY. Why are these numbers like this? Is this Hexibinary? Myke predko does not explain. Actually Myke does not explain anything. I feel like I am trying to learn from a lion. Can somebody please write a helpful book???
I want to know:
Where I can find a guide to these locations.
i also want to know how to get my project working, which is acting strangs, and I'm pretty sure its a configuration word issue.
I was using a PIC16 previously but am now using a PIC18f2550 i want PORTA and PORTB to be outputs Port a goes straight to the 4 of a 5x4 LED matrix and port b goes to a HCT138 binary decoder where all is high unless you send it a signal. It worked beautifully on a pic 16 but I can't seem to get it right now. What commands should I use to:
turn tristate mode on
set all pins on PORT A and B to Output
Turn comparators off
Turn A/D's off
the 2550 is similar to the 4550 just fewer pins. I have succeeded at this project:
Open Source Framework for USB Generic HID devices based on the PIC18F and Windows - WFFwiki
but now I need to have a separate chip scan the lighting scenario and I need it to do what I want first before I delve into either USART or I2c...
Thanks for all the help, when i get better i'll help others but now im still a nooB
TRISD=0b11111110;
WHY. Why are these numbers like this? Is this Hexibinary? Myke predko does not explain. Actually Myke does not explain anything. I feel like I am trying to learn from a lion. Can somebody please write a helpful book???
I want to know:
Where I can find a guide to these locations.
i also want to know how to get my project working, which is acting strangs, and I'm pretty sure its a configuration word issue.
I was using a PIC16 previously but am now using a PIC18f2550 i want PORTA and PORTB to be outputs Port a goes straight to the 4 of a 5x4 LED matrix and port b goes to a HCT138 binary decoder where all is high unless you send it a signal. It worked beautifully on a pic 16 but I can't seem to get it right now. What commands should I use to:
turn tristate mode on
set all pins on PORT A and B to Output
Turn comparators off
Turn A/D's off
the 2550 is similar to the 4550 just fewer pins. I have succeeded at this project:
Open Source Framework for USB Generic HID devices based on the PIC18F and Windows - WFFwiki
but now I need to have a separate chip scan the lighting scenario and I need it to do what I want first before I delve into either USART or I2c...
Thanks for all the help, when i get better i'll help others but now im still a nooB