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.
Just google io.dll. You can download it from geekhideoutDOTcom. Use PortIn and PortOut. The port access should be quick enough. Guys use it to drive CNC routers at adequate speeds. There are other dlls out there also, but I found this one to be the most straightforward.
Added: Port access is...
C language problem
What is d = declination() supposed to do other than put the program into a non-terminating loop and have the stack go rampaging through program memory until you get an 'out of memory' message? Also, I hope you realize that C programs start with main(), and not the first...
Re: C
Extern implies static. Try to think in terms of being the compiler. It needs to know the storage space of the variable. So extern is basically saying to the compiler, here is a variable that I will be using in this file, it is of this type and storage space and I promise that it will be...
You can't go wrong using digital PID control of a small DC servo. You could make a nice interface on the computer with Java or .NET to set the speed and monitor it and so on. You could cut in different loads and have a scope capture the response. And show how you tuned it in. Servos come with...
interfacing sound card vb
The easiest way is to use DirectX -> DirectSound -> CaptureBuffer.
Basically you create an interface to DirectX, open DirectSound, create the CaptureBuffer, start it and read from it.
You could also look at OpenAL, I think it is a C Library/API that is fairly...
You are using the assignment operator '=', you need to use the logical equal operator '==' :
You should use *p++ == *q++
Plus the pointer p was never assigned a valid address so it's address is NULL. So the statement will give an error. But even if p was assigned a valid address, the *p++...
LOL! C'mon it's like rjainv said. You burned an iso image as a file on a cdrom, you did not burn the iso image as a cdrom. It does not boot, because it is does not have a valid boot sector. An iso is called an image because it maps specific data to a specific location on the cdrom. So data in...
convert decimal to binary in c
Computers do not store numbers in any format but binary, and whether the numbers are stored MSB->LSB or LSB->MSB is processor dependant. A decimal format means that a character string is representing the number as a base 10 number. You are asking to represent the...
Re: How can I get each byte of 32-bit floating point by usin
This will work:
//**********************************
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
float f = 3332.54543;
unsigned long *l;
unsigned char *p;
l = (unsigned long *)&f...
Buy a controller board like a pic, and make an os for it first. Then get an arm or other 32 micro board and make an os for it. Then try making an os for the desktop.
voice input calculator
Well Microchip has a voice recognition library/API, for $2,600. There are some voice recognition chips out there, but they are for experienced designers, not beginners.
My advice is to see if Microsoft's Speech API is available for WinCE .NET, I think it is. Then do it...
There is a programming file that gives those specs somewhere on Microchip. I looked at the table of Vpp for all of the 16 series, and they are a real dog's breakfast of Vmin and Vmax. I was quite surprised at the variation. I have no doubt that a good part of the programming problems with pics...
long long int in c
First, you have a return of long long int, buy there is no return of anything in the fucntion. Second whis is res an unsigned long int and a is a long long int? The compiler is warning you that this is valid only in the iso c90 standard. I assume other standards will treat...
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.