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.
Dear all..
I've used the C++ Builder 6.0, but I have to compile a project at BDS6.0.
At Builder 6.0 the method Syncronize have only the method parameter, but at BDS2006 I have this:
void Synchronize (TMetaClass * vmt, TSynchronizeRecord * ASyncRec, bool QueueEvent);
What is vmt, AsyncRec and...
Hello..
I'm unsigng C++ Builder 6 to make a project that uses threads, but when running under an HT machine the thread don't run.
Some one knows what can I do to make my thread run?
Thanks in advance.
msp430 spi
Dear all,
In my application I need to switch between UART and SPI modes at real time.
At the first moment the USART is in UART mode, and works weel. When I configure to SPI, it also works, but when I back to UART mode it never works until a power reset.
I think it is a Bug of...
I asked yesterday some friends that like to program cell phone, thay sad that realy is impossible to acess the AT Commad layer from IrDA, it's is not standard.
If I raly help you, click at "Helped me" please.
seadolphine2000,
First you need to know waht is the funcion of Ifrared port. In other Cell phones (like Nokia 6101) the infrared is used to transfer files from Nokia phone to other Nokia phone. The protocol at infrared port is private of the manufactures, cause this you cant transfer files...
Re: I need help about interfacing web(PHP) with microcontrol
You don't specify what you want....
The page (PHP) is installed at the micocontroller and when someone enter the uC IP at web brouser the PHP page will be showed, rigth? If true, it will be realy hard, because you must have an...
mbddt2210
I need to controll the MBDDT2210 from a PLC (Altus PL104/T), but it's very dificult, case I don't have time and pins soficients to controll all Input and Outputs of Servo Driver.
Wath I need is a schematic for X5 connections, that works.
If some one post something that help me I...
Dear All... I am not an expert in OpenGL 3d desing, but for my applications I use simple drawing Technique and work well untill now.
I need to write some text int the Gl Scene, but the examples is very hard to use, does any one have some library with functions to draw text?
Thanks in advance...
lats, you can work with BCD, like your RTC, but to translate DBC to decimal you need to use decimal multiplication and division. To display a number in a display is easy using BCD.
unsigned int16 Value = 53694; //0xD1BE
unsigned int32 BCD;
unsigned in32 DecToBcd (unsigned in16 value)
{...
Thank you vsmGuy for the coment, I'm doing my best in this...
I think it is not possible to do without use / and %. If you say wy do this convertion we could help you to change the high level and don't need to use / and % anymore.
Thanks...
[/code]
Well vsmGuy, here is the code rewrited.
I think now it's correct at all... If you see another mistakes please write the code to me, I'm just learnig too.
Thanks for observations..
unsigned char DecToHex(unsigned char value)
{
if (value >= 99)
value = 99;
return (((value /...
This function also can be used:
int DecToHex(int value)
{
char bcd[2];
bcd[0] = value / 10;
bcd[1] = value % 10;
return ((bcd[0] << 4) | (bcd[1]));
}
[/code]
Well.. The jump instruction is very simple, just like the others...
#define BRANCH 0x0003
#define JUMP 0x0004
#define OTHER_INSTRUCION 0x0005
//Put this conde inside a Thread
while (1)
{
switch(MemoryMap[Registers.PC.b16])
{
case BRANCH...
Deathlich,
I'm doing somethile like this at the moment, i'm developing a component for C++ Builder that can execut a script (program), this strict is generated form anoder program....
I prefer to use the spript in hex format, not ascii. With Hex I can declare my memory, for example:
unsigned...
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.