Hello vishwanath,
There are examples within our software bundle. You can find those in \Examples\Internal MCU Modules\.
Best regards
Search found 433 matches
- 01 Dec 2010 11:16
- Forum: mikroC PRO for PIC General
- Topic: lcd message storage in flash memory
- Replies: 5
- Views: 1948
- 01 Dec 2010 10:50
- Forum: mikroC PRO for AVR General
- Topic: Call signature does not match the function definition
- Replies: 14
- Views: 4894
Re: Call signature does not match the function definition
Hello granel , Please, zip your whole project folder and attach it here so we can examine it. Also, try our example that is located in Help file, it is tested and working on ATMega16 @ 10MHz. Here is example from help file: void Tone1() { Sound_Play(659, 250); // Frequency = 659Hz, duration = 250ms ...
- 29 Nov 2010 16:01
- Forum: mikroPascal PRO for PIC General
- Topic: Poeblem with KeyPad function
- Replies: 1
- Views: 1182
Re: Poeblem with KeyPad function
Hello marouane87 , The only functions that are available for Keypad Library are: - Keypad_Init - Keypad_Key_Press - Keypad_Key_Click This Keypad_Released() function must be defined before usage as sub procedure . You can look at our compilers Help file for more info about procedures for Keypad libra...
- 29 Nov 2010 15:40
- Forum: mikroC PRO for PIC General
- Topic: PIC18F4685 and Soft_UART
- Replies: 2
- Views: 1135
Re: PIC18F4685 and Soft_UART
Hello hocavr , Looking at your code, I see that you didn't define variable i . So here is what I've changed and code is working just fine. I connected to RA3 RX pin and to RA2 TX pin of RS232 interface. Also take care that you didn't connect anything else to those pins. short i = 0; void main() { CM...
- 29 Nov 2010 15:25
- Forum: mikroC PRO for PIC General
- Topic: how to use "if" statement?
- Replies: 5
- Views: 7185
Re: how to use "if" statement?
Hello Hry , Referring to datasheet for PIC16F877A , under I/O Ports ( page41 ) and A/D Converter Table ( page128 ), you'll need to set ADCON1 register to value 0x06 in order for ports to have Digital I/O function. So your code should look like this: void main() { ADCON1 = 0x06; TRISA = 0x01; TRISB =...
- 26 Nov 2010 16:22
- Forum: mikroC PRO for dsPIC30/33 and PIC24 General
- Topic: Poer expander question
- Replies: 3
- Views: 1904
Re: Poer expander question
Hello Berkl,
It is possible. Please look at this thread.
Look at BarryPs post, thanks to this member it is clearly explained.
Best regards
It is possible. Please look at this thread.
Look at BarryPs post, thanks to this member it is clearly explained.
Best regards
- 26 Nov 2010 15:39
- Forum: mikroC PRO for PIC General
- Topic: PIC16F684 Soft UART Not able to recieve (RX)
- Replies: 14
- Views: 6685
Re: PIC16F684 Soft UART Not able to recieve (RX)
Hello tkj , Since you didn't post your code and due to simptoms described, I can only suggest that you didn't disable comparators, which are located on PortC and disable A/D Convertor just in case. Add next lines into main program or in initialization subrutine: ANSEL = 0x00; CMCON0 = 0x07; Best reg...
- 26 Nov 2010 15:18
- Forum: mikroC PRO for dsPIC30/33 and PIC24 General
- Topic: need help on programming dspic30f4013 with pickit2 *edited*
- Replies: 17
- Views: 6907
Re: need help on programming dspic30f4013 with pickit2 *edit
Hello dspicnewbie , Please consult datasheet for dsPIC30F4013 regarding oscillators that can be used. Here is simple scheme of oscillator used on our systems: oscillator.PNG The OSC1A and OSC1B are connected to MCU pins. Since you use 20MHz oscillator, set in Project Editor under Oscillator settings...
- 26 Nov 2010 14:52
- Forum: mikroC PRO for PIC General
- Topic: The Free MicroC Compiler
- Replies: 2
- Views: 1234
Re: The Free MicroC Compiler
Hello bosonics , Thank you for interest in our products. Is the Free C-Compiler enough to work and test the Basic Examples of the Book? It is not 2kBytes of program code, it is 2k of program words. It will be enough. But, consider this, by buying Development system, like EasyPIC6 , you have discount...
- 26 Nov 2010 14:24
- Forum: mikroC PRO for AVR General
- Topic: About interrupts on AVR's
- Replies: 4
- Views: 5019
- 26 Nov 2010 08:45
- Forum: mikroC PRO for dsPIC30/33 and PIC24 General
- Topic: need help on programming dspic30f4013 with pickit2 *edited*
- Replies: 17
- Views: 6907
Re: need help on programming dspic30f4013 with pickit2 *edit
Hello dspicnewbie,
Here are scheme and settings. Use default button for settings, and just change appropriate clock.
Best regards
Here are scheme and settings. Use default button for settings, and just change appropriate clock.
Best regards
- 25 Nov 2010 20:34
- Forum: mikroC PRO for AVR General
- Topic: Interrupt -> how to use
- Replies: 8
- Views: 8741
Re: Interrupt -> how to use
Hello UR90 , Here is little project that demonstrates external interrupt usage on AVR ATMega16 MCU. /* * Project name: External Interrupt on PortD (Simple 'Hello World' project) * Copyright: (c) Mikroelektronika, 2010. * Revision History: 20101006: - initial release; - 20101006 (RR); * Description: ...
- 25 Nov 2010 20:27
- Forum: mikroC PRO for dsPIC30/33 and PIC24 General
- Topic: mistake on 30F2011 program memory?
- Replies: 2
- Views: 1365
Re: mistake on 30F2011 program memory?
Hello study,
Thank you for noticing this.
Our IDE shows how much programmable words are used and how much are available, but words are changed for bytes. It's a minor bug and it will be fixed.
Best regards
Thank you for noticing this.
Our IDE shows how much programmable words are used and how much are available, but words are changed for bytes. It's a minor bug and it will be fixed.
Best regards
- 25 Nov 2010 16:31
- Forum: mikroC PRO for dsPIC30/33 and PIC24 General
- Topic: need help on programming dspic30f4013 with pickit2 *edited*
- Replies: 17
- Views: 6907
Re: need help on programming dspic30f4013 with pickit2 *edit
Hello dspicnewbie , Here is an example that uses PWM. With buttons RB0 - RB3 you change interval of PWM. All you need is to Pull-Up PortB on EasydsPIC6 , and to put Button jumper J15 in GND position. unsigned int current_duty, old_duty, current_duty1, old_duty1; unsigned int pwm_period1, pwm_period2...
- 25 Nov 2010 16:10
- Forum: mikroBasic PRO for PIC General
- Topic: Need help for motor stepper on easypic6 and stepper driver
- Replies: 2
- Views: 1818
Re: Need help for motor stepper on easypic6 and stepper driv
Hello mauriced , You can find more info on products homepage, Bipolar Stepper Motor Driver Board . There are ready to use examples and explanation how to connect board to development system (or MCU). And for motor itself, you will need external supply, but please, look at specifications for A3967SLB...