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