Help with MikroC

General discussion on mikroElektronika website & forums.
Post Reply
Author
Message
aramer
Posts: 1
Joined: 27 Apr 2014 07:08

Help with MikroC

#1 Post by aramer » 27 Apr 2014 07:15

The fact that I was transferred to another department, the teacher immediately instructed, and I do not mikroC) please help
On two LSBs Seven-segment display board EasyPIC5 get ADC value given by the variable resistor on PORTA.0. To bring up to tenths.

and

To "LED" port \ PORTC get in effect "running fire" with a cyclic change of direction. Speed ​​of the effect should be doubled when applied to the input pulse INT logical unit 1 sec duration and reduced feed input INT pulse logical unit of 2 seconds duration

I will be very grateful

User avatar
marina.petrovic
Posts: 2986
Joined: 18 Apr 2013 08:11

Re: Help with MikroC

#2 Post by marina.petrovic » 28 Apr 2014 15:26

Hi,

You can take a look at the example provided in compiler and try to write your project with the help of this examples
and datasheet of the microcontroller that you use.

Please, take a look at Seven Segment example:
...\mikroC PRO for PIC\Examples\Development Systems\EASYPIC7\Seven Segment Display

LedBlinking and Led_Curtain examples:
...\mikroC PRO for PIC\Examples\Development Systems\EASYPIC7\Led Blinking

Button example:
...\mikroC PRO for PIC\Examples\Development Systems\EASYPIC7\Button

The examples are written for EasyPIC v7 - PIC18F45K22, but you can easily adjust the example for microcontroller that you use.

Best regards,
Marina

Post Reply

Return to “Website & Forums General Discussion”