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.
Yes i am trying to send multiple float variable. For now i try to send just one float here is my code.
#include <16f877.h>
#include <stdlib.h>
#use delay(clock=4000000)
#use fast_io(b)
#define use_portb_lcd TRUE
#include <lcd.c>
#use rs232 (baud=2400, xmit=pin_c6, rcv=pin_c7, parity=N, stop=1)...
Data is float type variable that i get from adc channel. I send one variable in while loop and receiver pic get one variable so there is no problem . Here the example of what i did.
master pic
int x = 0;
void main()
{
while(1)
{
putc(x);
x++;
if(x=20) x=0;
delay_ms(1000);
}
}
slave, receiver...
Hi thanks for answers i think i understand the way to do this. I decided to use uart and i researched protocols before so i know the differences . my problem is on the coding side . I dont have experience . Which functions should i use for adding frame ? i can't find example for like this...
Hi i am newbie on programming and communications. I have two pics , one measure mutiple voltages and temprature. I want to send these voltage and temprature datas to second pic and displaying through lcd. Problem is how can i send multiple variables and how can receiver pic understand which data...
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.