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.
Hello,
I am trying to create new screen in gtk+.
So here is my code :
#include<stdio.h>
#include<string.h>
#include<gtk/gtk.h>
#define COMPLETED 1
#define NOT_COMPLETED 0
#define WIDTH 240
#define HEIGHT 320
enum{
BUY_IT = 0,
QUANTITY,
PRODUCT,
COLUMNS
};
typedef struct{
gboolean...
hello ;
I have a problem with the following code.
#include<stdio.h>
#include<string.h>
#include<conio.h>
typedef struct person {
char name[20];
int age ;
}per;
void function(per *pointer, int newAge){// problem is here.
pointer->age = newAge;
}
int...
Hello;
I am trying to understand makefiles. So I can write a simple makefile code. I want to ask questions for better understanding.
so here is my code :
CC = gcc
CFLAGS = -g -Wall
FILE = main
EXECUTABLE_FILE = out_executable
all : $(FILE)
$(CC) -O2 $(CFLAGS) -o $(EXECUTABLE_FILE)...
I am trying to receive 1,2,3 order number from uart with single receive interrupt. But I dont know how can ı do. I mean user can send me 1,2,3 order number like 1,10,100, and ı must receive that number in receive interrupt. How can ı recognize that user send me 1 or 2 or 3 order number ? So how...
hello forum.
I am trying to communicate with mpu6050 with i2c.
I write code like this for receive data from sensör :
uint8_t I2C_SingleByteRead(uint8_t register_address)
{
uint8_t mask=0;
while(I2C_GetFlagStatus(I2C1,I2C_FLAG_BUSY)==SET);
I2C_GenerateSTART(I2C1,ENABLE)...
I am learning rs232 serial communication and ı write code and ı simulate this code in proteus but not work. here is my code :
#include<pic.h>
#include<htc.h>
#include<PIC16F877A.h>
#define _XTAL_FREQ 4000000;
void init()
{
BRGH=1;
SPBRG=25;
SYNC=0;
SPEN=1;
TXEN=1;
}
void...
hello forum. I have one question about serial port.
I am using arduino uno. I want to connect xbee to my arduino and then ı want to connect arduino to the computer. so here is my problem. Can ı connect both computer and xbee simultaneously ? I want to use tx/rx pins for xbee serial...
my aim is simple : flash led every 1 second ; I am using mplab and my code is below. I think my code is correct but in simulation , led is not flashing. please help me whats the problem
#include<pic.h>
#include<PIC16F877A.h>
#define _XTAL_FREQ 4000000;
int i=0;
void init(void);
void main()
{...
okey. this sensor gives 2 output like this .
what is the meaning of this sine and cosine wave?
and (ı dont understand your suggestion.) again how can ı measure the angle by using this waveforms ?
Hello forum;
I search analog compass sensor 1525 but I cant understand how it is work. How can I interpret its output waves ? How can ı obtain the angle ?
Thanks for your help.
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.