Continue to Site

Welcome to EDAboard.com

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.

Recent content by jhbbunch

  1. J

    stepper motor control via parallel port interface

    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...
  2. J

    C language problem - I'm getting compiling error

    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...
  3. J

    C - storage classes extern and static together ?

    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...
  4. J

    i need a project having new idea

    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...
  5. J

    extracting data from sound card

    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...
  6. J

    Segmentation fault when trying to copy strings

    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++...
  7. J

    another very very basic C assignment...

    I removed my reply because I was just echoing the previous posters reply.
  8. J

    "disk boot failure" appears on my new computer

    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...
  9. J

    simple C assignment..

    I don't know why you would need nested loops, one loop will do: #include <stdio.h> #include <stdlib.h> #include <conio.h> int main(int argc, char *argv[]) { char c[] = "BBBBBBBBB", i; for(i = strlen(c); i > 0; i--) { printf("\n%s", c); c[i - 1] = 0...
  10. J

    converting decimal to binary using C codes

    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...
  11. J

    How can I get each byte of 32-bit floating point by using C

    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...
  12. J

    I want to design a simple O.S for my PC

    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.
  13. J

    VOICE-BASED CALCULATOR

    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...
  14. J

    each PIC has its own VPP

    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...
  15. J

    how to use 'long long int' or 'unsigned long int' in C prog

    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...

Part and Inventory Search

Back
Top