mikroc Archives - electroSome https://electrosome.com/topic-tag/mikroc-2/ You Inspire.....We Create..... Wed, 21 Jun 2017 16:57:33 +0000 en-US hourly 1 https://wordpress.org/?v=6.1.1 Delay using interrupt https://electrosome.com/topic/delay-using-interrupt/ Wed, 21 Jun 2017 16:57:33 +0000 https://electrosome.com/topic/delay-using-interrupt/ Hello Guys, I am trying to implement a delay using timer0 interrupt. I’ll just post an abstraction of the code in mikroc void inittimer() { //Timer initialization for a 32ms interrupt } void interrupt() { //interrupt code; delayvariable++; } void main() { TRISB = 0;          //PORTB is output TRISC.F0 = 1; […]

The post Delay using interrupt appeared first on electroSome.

]]>
MikroC PIC 16F877A Interrupt – Not Enough RAM for Call Stack https://electrosome.com/topic/mikroc-pic-16f877a-ram-stack-interrupt/ Fri, 10 Feb 2017 15:29:44 +0000 https://electrosome.com/topic/pic16f877a-problem-with-interruption/ Hi, My Project is automatic irrigation When I build my program without interruption it works but when I add void interrupt it shows up a mistake “NOT ENOUGH RAM FOR STACK” as the picture and folders of MikroC show.

The post MikroC PIC 16F877A Interrupt – Not Enough RAM for Call Stack appeared first on electroSome.

]]>
PWM using PIC12F1572 https://electrosome.com/topic/pwm-using-pic12f1572/ Fri, 13 Nov 2015 19:51:49 +0000 https://electrosome.com/topic/pic12f1572/ I’m newbie in using PIC , I want to use PWM’s  of PIC12F1572. Can anyone help me out in knowing programming software used to program this pic controller?? Also,any source you can provide for its programming in c

The post PWM using PIC12F1572 appeared first on electroSome.

]]>
Displaying UART data on LCD – PIC 16F877A https://electrosome.com/topic/displaying-uart-data-on-lcd-pic-16f877a/ Mon, 15 Dec 2014 10:23:13 +0000 https://electrosome.com/reply/10227/ I want to display data read from UART on 16×2 LCD with MikroC compiler & PIC16F877A microcontroller … In my program I am sending data through USART terminal of MikroC, it is receiving correctly on virtual terminal in Proteus but not displaying on LCD. Please check the code written in MikroC sbit LCD_RS at RB0_bit; […]

The post Displaying UART data on LCD – PIC 16F877A appeared first on electroSome.

]]>
LCD and UART PIC Microcontroller https://electrosome.com/topic/lcd-uart/ Tue, 09 Dec 2014 07:30:16 +0000 https://electrosome.com/topic/lcd-uart/ I’m trying send data to the PIC using the Terminal Window on Proteus, but something is wrong and I don’t understand why. I attached the Proteus project and *.HEX. The PIC is 16F628a. #define _XTAL_FREQ 8000000 #define RS RB0 #define EN RB3 #define D4 RB4 #define D5 RB5 #define D6 RB6 #define D7 RB7 #include […]

The post LCD and UART PIC Microcontroller appeared first on electroSome.

]]>