Search found 146 matches

by abcdefgg
06 Sep 2011 02:33
Forum: mikroBasic PRO for PIC General
Topic: Help to understand!
Replies: 7
Views: 2454

Re: Help to understand!

[/code] <-- and end it with this
by abcdefgg
06 Sep 2011 02:30
Forum: mikroBasic PRO for PIC General
Topic: Help to understand!
Replies: 7
Views: 2454

Re: Help to understand!

Hi,

Click on "code"

Code: Select all

                      



       Your code here
by abcdefgg
05 Sep 2011 09:45
Forum: mikroBasic PRO for PIC General
Topic: Help to understand!
Replies: 7
Views: 2454

Re: Help to understand!

Hi,

There are free online books provided by Mikro... for you.


Cheers
by abcdefgg
05 Sep 2011 04:38
Forum: Development Boards
Topic: transistor controlled motor
Replies: 4
Views: 1688

Re: transistor controlled motor

Hi,

Not talking about the code, your diagram is wrong.

Be careful of the transistor!


http://www.ermicro.com/blog/?p=423 (Some basics for you)
by abcdefgg
02 Sep 2011 14:27
Forum: mikroC PRO for PIC General
Topic: PICkit 2 and MikroC output
Replies: 4
Views: 1962

Re: PICkit 2 and MikroC output

Hi,

I use PICkit 2, too.

I just load the "hex" file

that's it

find the "hex" file after compiling

and import it to your pickit2

then burn your pic
by abcdefgg
01 Sep 2011 12:24
Forum: mikroC PRO for PIC General
Topic: Need support for PIC 16F887
Replies: 4
Views: 1538

Re: Need support for PIC 16F887

I have set Oscillator to HS. I guess this settings says I am using external OSC. You are using an external osc, ra6 and ra7 won't work in your side. if I want to use pin 0 and 1 and 6 & 7 as button then what settings I need to do ? You mean port A? but you are using portb for all buttons hmmmmmm
by abcdefgg
01 Sep 2011 07:52
Forum: mikroC PRO for PIC General
Topic: Need support for PIC 16F887
Replies: 4
Views: 1538

Re: Need support for PIC 16F887

Code: Select all



TRISA = 0xff;  // you set portA as inputs  but why?


 if (oldstate7 && Button(&PORTB, 7, 1, 0)) {
      TRISA7_bit = ~TRISA7_bit;   <---- output here?


Also portA6 and portA7 are for osc 1 and osc 2 

Are you using internal osc?





by abcdefgg
30 Aug 2011 05:45
Forum: mikroBasic PRO for PIC General
Topic: KeyPad
Replies: 13
Views: 3611

Re: KeyPad

Hi, Your keypad is 3x3. You should pull down column 1 2 3 with a 10k resistor seperately to the ground and connect row 1(A) directly to RA4 row 2(B) directly to RA5 row 3(C) directly to RA6 (No pull up or down here) ~~~~~~~~~~~~~~~~~~~~ Since you are using RA6 ( osc2) for the 3x3 keypad, you have to...
by abcdefgg
29 Aug 2011 18:51
Forum: mikroBasic PRO for PIC General
Topic: KeyPad
Replies: 13
Views: 3611

Re: KeyPad

Hi pal,

There is a clear diagram in the "help".

Why don't you follow it?

BTW, I do not see any schematics from you.

Regards
by abcdefgg
29 Aug 2011 18:18
Forum: mikroBasic PRO for PIC General
Topic: KeyPad
Replies: 13
Views: 3611

Re: KeyPad

Hi, What is your code like? What did you do with the resistors? Did you use internal osc and set it up in the compiler and the code? Did you make portA digital? Did you turn off the comparators in your code? Have you check out the diagram in the "help"? Are you sure it is "pull up" or is it "pull do...
by abcdefgg
24 Aug 2011 13:44
Forum: mikroBasic PRO for PIC General
Topic: PIC 12F683 USART MCP2122 TFBS4711
Replies: 6
Views: 2602

Re: PIC 12F683 USART MCP2122 TFBS4711

CMCON0 = CMCON0 or 0x07 * turn off comparators
ANSEL = ANSEL and %11110000 * turn off analog inputs
by abcdefgg
17 Aug 2011 08:13
Forum: User Projects
Topic: Problem with LCD on PIC 16F688
Replies: 6
Views: 4063

Re: Problem with LCD on PIC 16F688

Congrats!
:D


Cheers,

Abcdefgg
by abcdefgg
16 Aug 2011 08:31
Forum: User Projects
Topic: Problem with LCD on PIC 16F688
Replies: 6
Views: 4063

Re: Problem with LCD on PIC 16F688

I tried the demo program from MikroE with the LCD on PIC 16F887, and this is working without writing to OSCCON, maybe writing to this register is done automatically by the compiler ?? The analog comparison in the program is working, i can tell from LED's on the EasyPIC. Is the problem maybe that th...
by abcdefgg
15 Aug 2011 10:35
Forum: mikroC General
Topic: Please help change in mikroC pro to mikroC
Replies: 1
Views: 1247

Re: Please help change in mikroC pro to mikroC

Hi,

Requests like this are often um...

Regards,

Abcdefgg

Go to advanced search