Search found 120 matches

by dariush_abbasi
10 Dec 2013 08:07
Forum: mikroC PRO for 8051 General
Topic: 2 buttons using the button library?
Replies: 3
Views: 3558

Re: 2 buttons using the button library?

Hi,
Thanks a lot for your reply.
by dariush_abbasi
07 Dec 2013 18:15
Forum: mikroC PRO for 8051 General
Topic: 2 buttons using the button library?
Replies: 3
Views: 3558

Re: 2 buttons using the button library?

// Button connections sbit Button_Pin at P0_0_bit; // Declare Button_Pin. It will be used by Button Library. // End Button connections bit oldstate; // Old state flag void main() { P0 = 255; // Configure PORT0 as input P2 = 0xAA; // Initial PORT2 value oldstate = 0; do { if (Button(1, 1)) // Detect...
by dariush_abbasi
07 Dec 2013 11:30
Forum: mikroC PRO for 8051 General
Topic: 2 buttons using the button library?
Replies: 3
Views: 3558

2 buttons using the button library?

Hi everybody.
Would someone tell me how can i modify the "button library" in order to use it for 2 keys?
Thanks in advance.
by dariush_abbasi
15 Nov 2010 15:45
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: Maximum Frequency of dsPICs?
Replies: 1
Views: 1444

Re: Maximum Frequency of dsPICs?

No suggestion!? Something else: Which one is more important for faster execution of instructions? 1-MIPS/MHz or 2-Frequency itself? for example as you know: PIC32MX5XX/6XX/7XX has 80 MHz maximum frequency with 1.56 DMIPS/MHz (Dhrystone 2.1) performance(if you calculate the MIPS would be 124MIPS), bu...
by dariush_abbasi
14 Nov 2010 18:55
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: Maximum Frequency of dsPICs?
Replies: 1
Views: 1444

Maximum Frequency of dsPICs?

Hi, Would you please answer the following questions? 1-What is the maximum frequency of dsPIC30F4013? 2-Is there any difference in dsPIC30Fs' frequency? 3-What are the better chips in frequency? 4-What is the maximum frequency of dsPIC33Fs? As far As i know: 1-120MHz 2-120MHz for all dsPIC30Fs. 3-AR...
by dariush_abbasi
02 Nov 2010 21:48
Forum: mikroC General
Topic: How should I set the configuration bits of 18f67j50?
Replies: 1
Views: 1388

How should I set the configuration bits of 18f67j50?

Hi,
Would someone tell me How should I set the configuration bits of 18f67j50 for working with USB?
Can i modify the 18f4550 HID example for 18f67j50?
I changed the device flags but it didn't work.
Thanks in advance.
by dariush_abbasi
28 Feb 2010 20:46
Forum: mikroC General
Topic: USB self-power?
Replies: 4
Views: 2293

Re: USB self-power?

Hi,
Thanks a lot for your informative respond.
Many regards.
Bye.
by dariush_abbasi
28 Feb 2010 07:20
Forum: mikroC General
Topic: USB self-power?
Replies: 4
Views: 2293

Re: USB self-power?

Hi w7ami , Thanks a lot for your reply. In previous post i wanted to write 0x40 and in my program it is 0x40 not 0x04 so excuse me. I want to know why when i make a descriptor file(USBdsc.c) with Mikroc HID terminal and i don't select the "Bus powered" check box nothing changes(I mean that i still h...
by dariush_abbasi
27 Feb 2010 20:22
Forum: mikroC PRO for PIC General
Topic: Labview & HID
Replies: 7
Views: 5259

Re: Labview & HID

Hi,
Thanks a lot for your useful links.
Thanks again for your favors.
Be successful.
Bye.
by dariush_abbasi
26 Feb 2010 22:41
Forum: mikroC General
Topic: P18f4550 MicroC USB example problem
Replies: 7
Views: 3926

Re: P18f4550 MicroC USB example problem

Hi,
I've checked HID-library and it works fine.
Check the manual for easypic4, maybe useful.
By the way, you must compile the program with 48M.
Be successful.
by dariush_abbasi
26 Feb 2010 22:29
Forum: mikroC PRO for PIC General
Topic: Labview & HID
Replies: 7
Views: 5259

Re: Labview & HID

Hi Peter, Thanks a lot. Would you please tell me what should i do for self-powered circuit connected to USB? Would you please tell me why when i make a descriptor file(USBdsc.c) with Mikroc HID terminal and i don't select the "Bus powered" check box nothing changes? I have +5v coming from USB with b...
by dariush_abbasi
25 Feb 2010 18:02
Forum: mikroC PRO for PIC General
Topic: Labview & HID
Replies: 7
Views: 5259

Labview & HID

Hi.
Is anyone has already worked with the HID library and Labview's visa?
My hardware works fine with hid terminal but with the "usb bulk read" example of NI(labview)
it dosen't work although it recognizes my HID quite well.
Is there any changes in descriptors?
Any suggestion?
Thanks.
by dariush_abbasi
25 Feb 2010 00:02
Forum: mikroC General
Topic: USB self-power?
Replies: 4
Views: 2293

USB self-power?

Hi everybody. What should i do in order to have a self-powered circuit? When i use the MikroC descriptor and clear the check box it dosen't changes. As far as know the "bmAttributes " should be changed to 0x04 but when i don't select the "bus powered" option in hid terminal it is still 0xA0. By the ...
by dariush_abbasi
15 Feb 2010 09:01
Forum: mikroC General
Topic: Are SHT11 & 18S20 sensors able to work together ?
Replies: 13
Views: 5120

Re: Are SHT11 & 18S20 sensors able to work together ?

Hi,
I think there is something wrong with your hardware.
I think the resolution for DS18S20 is 9 and you can't use 11.
If you need more,you can use DS18B20 with the resolution of 12.
Also,the pull up is needed.

Go to advanced search