Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
interrupt pic
I use pic 16f877 with PICC lite
it's possible specify the address of the beginning of the interrupt handler for each interrupt source in C.
the memory associated to the interrupt is fixed or is resizable.
iterrupt
this code is good for an interrupt???
#include <pic.h>
#include <delay.c>
#include <delay.h>
main(){
GIE=1; //--> enable global interrupt
T0IE=1; //--> enable l'interrupt sul tmr0
TRISD=0;
TRISB=0;
TRISC=0;
while(1){
PORTC=255;
}
}
void interrupt prv_int(void)
{
unsigned int i=1...
Re: Char Array to double
dear asahin11,
the all 4 bytes array of char is the rappresentation of the unique value of my double number, to say that every char is a byte of my 4 bytes rappresentation value in double, so I need to convert all the array like a unique double value.
Thanks
[/code]
Hi,
this is my problem:
I have a char array (it contains 4 bytes rappresenting a double) , how can I read this array like a double value?
Thanks in advance folks
P.S. I'm working on a PIC 16F877.
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.