Search found 3 matches

by jherrin6
Tue Apr 14, 2009 7:18 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: LK/VK162-12 with PIC18F8722
Replies: 3
Views: 4294

After a few hours of banging my head against the wall I finally figured it out. The solution was to add pull-up resistors. Duh!!
by jherrin6
Tue Apr 14, 2009 10:34 am
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: LK/VK162-12 with PIC18F8722
Replies: 3
Views: 4294

I'd be happy to provide any additional information.
by jherrin6
Mon Apr 13, 2009 8:24 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: LK/VK162-12 with PIC18F8722
Replies: 3
Views: 4294

LK/VK162-12 with PIC18F8722

I'm trying to get my PIC18F8722 working with a LK/VK162-12. Below is a snippet of my code:


IPEN = 0; // Interrupt priorities disabled
PEIE = 1; // enable peripheral interrupts
GIE = 1;
TRISC = 0xff;
PORTC = 0xff;

SSP1STAT = 0x80;
SSP1CON1 = 0x38;
SSP1CON2 = 0x00;
SSP1ADD = 24; //(10MHz/100kHz ...