Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Hi sir
I am trying write c code for PIC12f629/PIC12f675 Microcontroller as per below points but i am failed ,please help me write code
I write code i MPLAB X XC8 complier
Points -
1 -
When PIC12f629 Power Connect (power on ) and switch 1(GP3 pin ) is high ( Switch pressed ) Led1 Blink (...
Hi all,
I have a project in Code Compose Studio coded in C language that, among other things, triggers an interrupt when a switch is released. The interrupts are configured and work properly except in one case, when the code is inside a while loop that would end when a button is released after...
Hi,All
i'm using lpc2148 ;I have generate different hard core delay (as per needed) in my code,but sometimes my code is stucking into hard core delay.So i want to generate delay using timer0 interrupt like i needed millisecond and second and microsecond.So please anyone suggest me...
Hi Guys,
I have a doubt regarding PIC Interrupts, I am using PIC16F887
I am Using Timer in Interrupt which Blink an LED for Approx 180 ms, and Sends Data through SPI when Certain condition occur,
Lets say when i am sending data in SPI and Interrupt occurs what will happen to data that is being...
Hello All,
I am using two 74HC595 Shift Resisters for a 4digit SSD.
The problem is that the display needs to be delayed while scanning through the digits. I do not want to use delay since while the display is on, nothing can work as the processor is busy in delay loop. So I thought I will use...
OS: Windows 10 64-bit.
Software: Workbench Version: Mars.2 Release (4.5.2)
Build id: 20160218-0600
Board: STM32F429 DISC1
Libraries: Standard Peripheral
Hi,
I'm trying to use the ADC on my board in interrupt mode (as opossed to polling mode). The goal is to be able to...
I am just learning to program in assembly using the 8051 microcontroller, and I am working on a simple Jeopardy-style project in which I have two clickers and a reset button, and one of two LED lights turns on depending upon which clicker is clicked first.
I am writing the program for this...
Hi,
I used the bellow code for generating 1 microsecond in codevision:
include <mega32a.h>
#include <delay.h>
#include <stdbool.h>
#include <io.h>
#include <stdio.h>
static void handleInterrupt();
int i=0;
int c=0;
int nReceiverInterrupt;
unsigned long nReceivedValue = NULL;
unsigned int...
hi
still working on my 8051 project using assembly language, and now I'm in phase 4 --->>>> the last phase ;)
in this phase we should generate 2 random numbers as following:
1. one digit (1-9)
2. two digit (10-99)
and by using push button we pick randomly the number
we have done one digit...
This routine is interrupt driven, and will detect either a short or long button press. It's return value is bit encoded and as such it is possible that both a long and short press can be detected. They are valid, since the press is debounced.
The code is not optimized, but written for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.