Author |
Message |
Topic: Interfacing PIC16F877A with PlayStation2 controller |
apai
Replies: 6
Views: 12222
|
Forum: General CCS C Discussion Posted: Thu Oct 30, 2008 3:24 am Subject: Interfacing PIC16F877A with PlayStation2 controller |
I have problem to read the data from PlayStation 2 controller. I have done the first plug in initialize and its work but when i press the button of PlayStation 2 controller, no data received by PIC 16 ... |
Topic: Interfacing PIC16F877A with PlayStation2 controller |
apai
Replies: 6
Views: 12222
|
Forum: General CCS C Discussion Posted: Thu Oct 16, 2008 10:07 am Subject: Interfacing PIC16F877A with PlayStation2 controller |
Thank you for your explanation. I had set the clock and the clock is generated as I wanted but the data cannot be read. I don't know why spi_read has not read the data that is sent by the PlayStation ... |
Topic: Interfacing PIC16F877A with PlayStation2 controller |
apai
Replies: 6
Views: 12222
|
Forum: General CCS C Discussion Posted: Wed Oct 15, 2008 10:36 am Subject: Interfacing PIC16F877A with PlayStation2 controller |
#include <16F877A.h>
#device adc=8
#use delay(clock=20000000)
#fuses HS, NOWDT
#use standard_IO(A,B,C,D,E)
// this is a macro shortcut (this code will replace bitrev ... |
Topic: Interfacing PIC16F877A with PlayStation2 controller |
apai
Replies: 6
Views: 12222
|
Forum: General CCS C Discussion Posted: Sun Oct 12, 2008 6:12 am Subject: Interfacing PIC16F877A with PlayStation2 controller |
I'm new at this forum. I need help for solving the problem to interface PlayStation2 controller with PIC16F877A. I'm using SPI. The connection between PlayStation2 and PIC is :
PS2 ---> ... |
|