Questions tagged [mikroc]

mikroC PRO for PIC is a full-featured ANSI C compiler for PIC devices from Microchip®.

126 questions
-2
votes
1 answer

Data Logger PIC16F877A

I have to design a Data Logger programusing mikroC PRO to run on the EasyPIC5 board (with PIC 16F877A microcontroller). I also have to use a 2-line LCD for display. Here is what i have been given: The program will take measurements from Analogue…
Mo Adel
  • 1,136
  • 1
  • 16
  • 29
-2
votes
1 answer

Write a statement which sees it a variable is near the value save in C

I want to ask that how can I see if a value read is near the value saved in a constant. Is there a specific statement for that or is there any way to do that. Awaiting your Replies. Regards Salik Sadruddin Merani example: //Here is what I mean if (…
echo_salik
  • 842
  • 1
  • 18
  • 35
-3
votes
1 answer

PIC Microcontroller with GSM module

How do I get a caller identity from sim900 using pic16f877A microcontroller meanwhile, I can make call, send SMS and answer calls but I want to be able to compare an incoming call identity with a predefined on in my program. My compiler if Mikroc.…
-3
votes
1 answer

mikroC for ARM shows error while defining char variable

I was trying to build my project but I got this error I really don't understand the problem I've tried to define the variable this way: char*c=malloc(100); and even this way: char c; Thanx
-4
votes
1 answer

Sun tracker Stepper Motor Simulation using pic16f877a

I have written a code for dual axis sun tracking based on time.. I am interfacing an lcd with the pic 16f877a. I have stumbled on a problem. The problem I find here is that if I write it as int am1 I get output as 1.0 (I want the output to show…
Georgio17
  • 1
  • 1
-5
votes
1 answer

UART1_Write(13) is not functioning correctly

I'm using PIC16F688 to read from analog channel 2 and average the values of the pressure sensor and then convert the 4 bytes to digital using ASCII character method. The code is pretty simple. I don't need any kind of delay after sending the…
1 2 3
8
9