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.
Hi
I need a help to develop a C code to read data from terminal in order to convert ascii to number. Do you know or where to find the information or any suggestion?
The terminal should accept a input from the user (Example : new temperature value) and convert into integer. This integer value...
#include<stdio.h>
#define msize 4096
struct memory
{
int a[msize];
};
void main()
{
struct memory m;
m.a[0]=250; // temperature value of 25,0
m.a[4]=01; // heater status OFF
m.a[8]=240; // temperature value of 24,0
m.a[12]=00; // heater status ON
m.a[16]=220; // temperature...
Hi!!! I am reading the temperature value from Aeroflex gaisler hardware via serial interface and displaying on the terminal and also I want to change the set point temperature value . Could anyone help me in this ??
I am reading the actual temperature value from the hardware and displaying on the desktop through the serial interface but how to change the setpoint value ??
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.