Communication between Avr(Arduino) and a PIC microcontroller ki0bk wrote:
ICSP is its own protocol, and will be different for different brands of chips, at the cost of a pickit4, you would be better served picking up one of these supported...
What's the reason for having PORTx and PINx for each port? Kartman wrote:
https://www.sparkfun.com/datashe...
Section 11.2 shows the diagram of the port logic.
Does this change the actual value of the PIND? I guess not right? PIND could...
Kartman wrote: avrcandies wrote: Toss the pic12 in the trashcan...if you gonna waste time, use a pic18 & at least have a good time at it. My feelings exactly...
Brian Fairchild wrote: Time to get out your multimeter and check. So does the Amps not matter in this case?
ki0bk wrote: ICSP is its own protocol, and will be different for different brands of chips, at the cost of a pickit4, you would be better served picking up one of these supported...
awneil wrote: avruser1523 wrote:the board which board? Arduino Uno.
Brian Fairchild wrote: avruser1523 wrote: My (noob) question is, which Serial commutation method of Arduino does this fall under: UART or I2C or SPI? None of those....
ki0bk wrote: ..if then h/w exists it will be easier to use... So how does hardware do it in this case? In has an instruction to basically *delay* for a certain...
One last thing hopefully, If you read PIND, you will read the state of the pins. What if DDRD is set to Output? in this case reading PIND is...
N.Winterbottom wrote: With the exception of avrcandies #2 the original question has not really been addressed. I hope this worked example might help. In this...
Kartman wrote: https://www.sparkfun.com/datashe... Section 11.2 shows the diagram of the port logic. Does this change the actual value of the PIND? I guess not right? PIND could...
It's getting alot more clear now, just this last part (hopefully), If I attach 5 volts to PIND physically on the Arduino board, does it also updated PORTD value or no?...
I have read the data sheet but still not so clear on this topic hence asking in this forum; I understand that PORTx is a register holding the pins value, but PINX...
So, If let's say I set DDRx to Output, then set PORTx to all high. Now I want to read the value of the port, i.e do: if (PORTx == 0b1111){ // } Do I read...
Pages