Search found 6 matches

by BlackBird
21 Aug 2010 22:38
Forum: mikroC General
Topic: Understanding USB interruptions
Replies: 1
Views: 1109

Understanding USB interruptions

Hi, I'm analizing a small piece of a program example that communicates a PC with a device through USB port, and saw a couple of things that can`t understand completely. :?: Look at that example: #include "D:\MikroCNew\Audidsc.c" // Function prototypes and variable declarations. unsigned char Read_bu...
by BlackBird
21 Aug 2010 21:04
Forum: mikroC General
Topic: USB and LCD
Replies: 25
Views: 8874

Re: USB and LCD

Hi, As far as I know each LCD (I mean from different builders) has different tolerances to initialization commands. Of course you have to take in mind this all the time: commands you sent to your LCD are dependent on MCU clock speed. In your LCD datasheet you can find a table of commands, on it you ...
by BlackBird
21 Aug 2010 20:26
Forum: mikroC General
Topic: troubles embedding asm in C code
Replies: 1
Views: 1134

Re: troubles embedding asm in C code

Hi guys, I'm answering my own post: I've found the errors related to "embedding asm on mikroC code". It's so simple (after I have broke my head for about 2 hours) All you have to do is a dummy use of variables just once. Ex: unsigned short Cont1, Cont2 ( global declaration) void main() { Cont1= Cont...
by BlackBird
20 Aug 2010 04:42
Forum: mikroC General
Topic: troubles embedding asm in C code
Replies: 1
Views: 1134

troubles embedding asm in C code

Hi guys, Look at that simple code: :D //*************************** unsigned short Cont1, Cont2; // Global vars void main(void); void Retardo1(void); void Retardo1() { asm { MOVLW 0xFF MOVWF _Cont1, 1 MOVWF Cont2, 1 } } void main() { Retardo1(); } The compiler returns two identical errors: :( not fo...
by BlackBird
30 Jun 2010 05:09
Forum: mikroC General
Topic: Troubleshooting USB communications on 18F2550
Replies: 1
Views: 2113

Troubleshooting USB communications on 18F2550

Hi I have some questions related to HID library on Mikroc 8.2 compiler and to HID terminal also. It suposes the host can initiate the communication process with a Device and it can do that by interruption signal or message, isn't it? As far as I see in the HDI library does not exist a function that ...
by BlackBird
23 Jun 2010 20:49
Forum: mikroC General
Topic: PIC 18F4550 USB communication with PC
Replies: 8
Views: 5127

Re: PIC 18F4550 USB communication with PC

Hi people, :D I'm getting my first steps on USB lane and I'm having the same troubles as USBpro. I've compiled two examples given on this forum and thy did not work any way. :( The problem still the same: PC (windoes) does not recognize the microcontroller usb port. Details: :shock: MikroC 8.2 versi...

Go to advanced search