Author |
Message |
Topic: 18F26J50 - Usb not work |
mpardinho
Replies: 2
Views: 5301
|
Forum: General CCS C Discussion Posted: Fri May 31, 2013 11:49 am Subject: 18F26J50 - Usb not work |
I update my code .... but not work
i think the code is ok
3,3v, 470pf .. all ok
in the same protoboard with 5v and simple code, 18f2550 ok
#include <18F26J50.h>
#device adc=16 ... |
Topic: 18F26J50 - Usb not work |
mpardinho
Replies: 2
Views: 5301
|
Forum: General CCS C Discussion Posted: Thu May 30, 2013 12:09 pm Subject: 18F26J50 - Usb not work |
Usb not work why ??
Fuses ?
#include <18F26J50.h>
#device adc=16
#FUSES HSPLL //High speed Osc (> 4mhz for PCM/PCH) (>10mhz for PCD)
#FUSES PL ... |
Topic: at45dbxxx |
mpardinho
Replies: 0
Views: 3696
|
Forum: General CCS C Discussion Posted: Fri Apr 27, 2012 8:01 am Subject: at45dbxxx |
I can write and read buffer, but I can't read page.
Could anybody Point me in the right direction to get the data ?
Thank You
#define FLASH_SELECT PIN_C3 // 4
#define FLASH_CLOCK PIN_C1 ... |
Topic: PIC18F4550 USB + RS232 |
mpardinho
Replies: 9
Views: 19715
|
Forum: General CCS C Discussion Posted: Sun Aug 15, 2010 10:14 am Subject: PIC18F4550 USB + RS232 |
USB Keyboard ok
tx_msg[2] = 0x04; // send a
tx_msg[2] = 0x05; // send b
tx_msg[2] = 0x06; // send c .....
But not work than i send character "/" = 0x38, pic send character "� ... |
Topic: rs232 and getc |
mpardinho
Replies: 6
Views: 6208
|
Forum: General CCS C Discussion Posted: Wed Nov 05, 2008 6:03 am Subject: rs232 and getc |
i change code......i post without "
the problem is in if(
if(letra=='o' ...........
IN PROTEUS WORK |
Topic: rs232 and getc |
mpardinho
Replies: 6
Views: 6208
|
Forum: General CCS C Discussion Posted: Wed Nov 05, 2008 5:37 am Subject: rs232 and getc |
i put caracter 2 in 1, 3 in 2
for (i = 1; i < 6; ++i) letra[i] = letra[i + 1];
i get 1 caracter in 6 and put i 5
if i test in proteus is 100% code works |
Topic: rs232 and getc |
mpardinho
Replies: 6
Views: 6208
|
Forum: General CCS C Discussion Posted: Wed Nov 05, 2008 4:57 am Subject: rs232 and getc |
i can't work 'if"
if ((letra
#include <18F252.h>
#FUSES HS
#FUSES WDT
#FUSES WDT128
#FUSES NOLVP
#FUSES CPB
#FUSES PROTECT
#use delay(clock = 8000000)
#use rs232 ... |
Topic: Strange behavior, array of char not cleaning ... |
mpardinho
Replies: 14
Views: 11490
|
Forum: General CCS C Discussion Posted: Sun Nov 02, 2008 5:08 am Subject: mcr |
your code is free(for share) ? |
|