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 ben123

  1. B

    COM connection related

    Of course you can do. A few months ago i connected a pc to pic using 2 com port. One for debug, other one for commands and data. First of all you will need a pc with 2 com ports or usb to serial convertors. I wrote a visual basic program for this. (Real program in delphi but it is only for...
  2. B

    Problem with 24256 eeproms as they don't respond to I2C device codes

    Re: 24256 eeprom problem mmm, you must right. because, it has a logo ST and right side of the logo there is a text PHIL strange. i think it is a philips but seems not. after your post, i looked with magnifying glass then i saw this detail. i gave wrong information, my error, i'm sorry. i...
  3. B

    Problem with 24256 eeproms as they don't respond to I2C device codes

    i bought 24256 eeproms. they are only responding i2c device code A0, other codes A2,A4,A6,A8 .. etc not work. i have pcb with six 24lc256 (device code from A0 to AA. ) i put one 24256 to A0 socket eveything is ok. then i move same part to A2 it still responds as A0. A4,A6,A8,AA still same. it...
  4. B

    PCF8583 strange readings

    2:22 time strange thanks for replies. most reading problems solved, but still this problem occurs time to time. then i changed the part pcf8583, now i'm using ds1307. with ds1307 everything goes properly. no problem since 10 days.
  5. B

    PCF8583 strange readings

    pcf8583 circuit after i writing pcf8583 rtc information changes by power supply spikes. but i also use battery backup. how can i prevent this?
  6. B

    Digital Clock With PIC16F84A [Timming Problem].

    pic16f84 clock 32768 hi, look at hxxp://users.skynet.be/bk317494/ you will find DS1307 real time clock project... if you want to use single pic like pic16f84 and interrupts, most probably you want 1 interrupt per second. if then, look at hxxp://www.picant.com/c2c/c.html you find...
  7. B

    How to realize this in vc++?

    also you may try void DoEvents(void) { MSG msg; while(PeekMessage(&msg,NULL,0,0,PM_REMOVE)) { TranslateMessage(&msg); DispatchMessage(&msg); } } it is working but application doesn't gracefully terminated... you must exit from this loop. while...
  8. B

    How to realize this in vc++?

    try this one. no another thread. void DoEvents() { MSG dispatch; while (::PeekMessage( &dispatch, NULL, 0, 0, PM_NOREMOVE)) { if (!AfxGetThread()->PumpMessage()); } } in your loop call call DoEvents(); while (...........) { ...
  9. B

    Does Visual Basic 6 support Thread Programming?

    Re: Thread Programming Note: TLS : Thread Local Storage VB5, VB6 uses TLS to store ERR object, APP objects etc. this means accessing them from another threats may not good for your program. sure that best way is using dlls.
  10. B

    Does Visual Basic 6 support Thread Programming?

    Re: Thread Programming if you ask for standart exe files, of course its possible. in vb6 you can create and control threads via apis. but it can be difficult. no native support for threads in std exes. there are still main problem if you choose api way... vb5, vb6 uses tls for main objects...
  11. B

    MS Visual Studio question

    basically they are totaly different. in dotnet everything is an object based. main feature = .net framework. .net framework starts new concept for programmers. .net doesn't compile program into exe files like java. .net programs requires .net framework to run. it is possible but not now...
  12. B

    10ms Delay in VB 6.0 ?

    vb 6.0 delay without timer TRUNGDPHAN asked: Do you have any ways to delay that doesn't depend on the system? the result of QueryPerformanceCounter/QueryPerformanceFrequency is system INDEPENDED. look attachment.
  13. B

    10ms Delay in VB 6.0 ?

    vb 6.0 , put timer delay sorry, i'm away. Please read papyaki's post . Performance Counter is comes from hardware and can change from system to system. (seconds) = QueryPerformanceCounter / QueryPerformanceFrequency if you read two value you can get difference...
  14. B

    10ms Delay in VB 6.0 ?

    delay function in vb 6.0 TRUNGDPHAN, you can't use VB's timer component to wait/pause 10ms. also timer function is useless for 10ms. check your system. Timer Component and timer function's resulation depends on computer you are using. min resulation is from 16.25ms to 55ms in most...
  15. B

    10ms Delay in VB 6.0 ?

    how to set up a delay timer in vb 6.0 Easy question, easy answer. why? because you want pause code, not timer... in the attachment you will find related routines. if you want to gui replying or using events Call WaitDoeventsX (WaitTimeInMilliseconds) else use Call WaitX...

Part and Inventory Search

Back
Top