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 polus

  1. P

    opamp in differential configuration for current measurement

    Ive attached my LT spice model and pic of the circuit Im trying to understand, a microchip development board current measurement circuit which sits between ground and a H bridge. I want to multiply the 0 - 300mV (max) green signal by 10 to get 0-3V (blue) for the ADC input. I dont understand...
  2. P

    Need tips and advice on building PSU

    Hi All, I’m after building a power supply inspired from these: http://www.tuxgraphics.org/electronics/200506/article379.shtml http://www.linuxfocus.org/English/November2002/article251.shtml I want to add two fixed supplies: 5v max cont.1.5A 24v max cont. 5A I believe if I could achieve...
  3. P

    What does this mean in C language: if(!(0x3F & P1IN))?

    Re: In C Lang Break it down... if(!(0x3F & P1IN)) So E.g. P1IN = 15 1). (0x3F & P1IN) 111111 & 1111 = 1111 (basically its determining if any of the first 6 bits are set and masking off the top 2). 2). if ( !(15) ) If the result of the 1) is 0 then if equates to true. Therefore its...
  4. P

    Multiple Seven Segment Displays

    multiple seven segment I have a project that requires 12 of these. Has anyone used this many in a project before and whats the cheapest/best way of controlling them all? Presumably Id need a port (8 bits) for the different LED's within the displays and then 12 display select lines? But how to...
  5. P

    Question about data types in C++

    Following on from above; the L postfix forces the compiler to acknoledge the constant as long.
  6. P

    All about computer bios, rom and firmware programming

    firmware programming tutorial Do you know assembly?
  7. P

    CAN Protocol development

    can protocol + osi I wrote a library for the PIC18F458 to handle CAN communications, Microchip provide a few application notes to help. I managed to abstract all the hardware related code so you just use send and receive functions and the rest is handled by queues implemented in software and...
  8. P

    How to generate random number in C++?

    Re: random number in c++ Hows this? #include <iostream> #include <ctime> #include <cstdlib> using namespace std; int generate_random_number( int uLowest, int uHighest, bool bSeed ) { // Seed the random number generated if requried. if ( true == bSeed ) { srand((unsigned)time(0))...
  9. P

    Help!!! Escape sequences in C++ on windows XP

    Hows this :) All "special characters" must be escaped! #include <string> #include <fstream> using namespace std; int main(int argc, char* argv[]) { string szFilename = "C:\\test.txt"; string szBuffer = "device=%SystemRoot%\\system32\\ansi.sys\n\r"; ofstream outfile(...
  10. P

    [C] What's pointers like *** mean?

    The dereference operator (*) allows you to access the data that the pointer is pointing to. E.g. pPointer = 0; // sets the pointer to zero. *pPointer = 0; // sets the memory pointed to by pPointer to zero. Sometimes its necessary and convenient to double or triple dereference pointers to...
  11. P

    basic C, advanced C, and embedded C

    The C language set is standardised. There are not different language sets as you have mentioned. Applying the language to different platforms makes use of difference features in the languages. For example in an embedded system memory may be a concern so code is written to minimise the impact...
  12. P

    Help me improve a lexical analyzer C++ code

    Re: lexical analyser IMO! It seems to me that you are expecting people to do the work for you. If you want to modify the code for greater efficiency you first need to understand it, well. Then when you do, read as many articles on the subject - then and only then return to the problem and...
  13. P

    Compiler internals, CPU Register

    The differences between debug and release builds are well documented but in a nutshell its debug info and optimization: https://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/_core_Common_Problems_Switching_from_Debug_to_Release_Build.asp have you installed the debug...
  14. P

    looking for free graphic library in MFC

    Multiple posts = scruffy forum...
  15. P

    How to make Excel refresh a file ?

    Re: Excel help You would be better writing a VB program with an activeX grid control that refreshes from the file.

Part and Inventory Search

Back
Top