Discussion in "Software" started by    Elektro    Nov 1, 2010.
Mon Nov 01 2010, 05:14 PM
hi guys
since a long time i was thinking of writing a program which automatically calculates the value to be sent to a port to light up a 7 seg display to display numerals or alphabets...

i got some time today and have written a C program which you can use to find the value.

its still a beta version(as with most initial sw ) and i will be grateful if you guys would give me some feedback about the program.

instructions for use are there in the program itself.

hope you find it useful.
 ajay_bhargav like this.
Mon Nov 01 2010, 05:17 PM
oops forgot to attach the file...
Mon Nov 01 2010, 06:41 PM
hi Elektro
when i double click it
press any key to continue
when press key it exit
how we use it

use graphics in visual c then this application will be attractive too
u can use vb or vb.net too
Mon Nov 01 2010, 10:48 PM
wow nice work Elektro..
i would prefer a GUI too

thanks for sharing this.
Tue Nov 02 2010, 04:14 AM
@majoka : i dont know visual c, vb or vb.net ... the day i learn i will create a new app . i know only C and C++ and this was written in C. i am working on a mouse version of the same program and will post it soon. compile the .c file(attached) directly and check if it works...

working is simple really... if u want to select seg A press key 'A' and so on... ESC will exit the program.

@Ajay : thanks a lot ajay...

Attaching the source code now... comments about the source code are also welcome

Tue Nov 02 2010, 05:08 AM
hi Elektro
keep it up
best of luck dear
Tue Nov 02 2010, 08:27 AM
thanks majoka
Thu Nov 04 2010, 12:47 PM
is it just me?

i see the welcome screen.. i press key.. screen goes off and nothing comes afterward w
Thu Nov 04 2010, 12:52 PM
i think ajay u need to compile it in compiler then u will see it in stay form when we make exe it not stay then i think he forget to insert a function getch();
at the end to wait for key pressing
Thu Nov 04 2010, 12:57 PM
it depends on the type of graphics adapter you use.

the code is written such that it detects the adapter automaticallly but in some cases the program exits without the graphics getting initialised.

it works perfectly fine on my desktop pc but it exist when i try it on my laptop...

im working on it to fix it... let u know soon.

Get Social


Powered by e107 Forum System


Thu Jun 11 2020, 11:57 AM
sir could please send the code for I2C and wifi interfacing with 8051
Wed May 20 2020, 03:59 AM
Does anyone have microcontroller programming software for STC15F104W (core 8051, 4 k, 128 byte, 6 I/O pin, UART ... DIL8), that works?
Sun May 03 2020, 01:08 AM
Tamu Gurung
Hi I am looking for a assembly language program for a digital decimal counter. Time counts max limit of 2 mins starting from 2.00 mins and ending at 0.00. time is to be displayed on 4 7-segment LED displays. Edsim51 simulator to be used. Thanks
Wed Mar 25 2020, 07:09 PM
Sir kindly send the code file i2c for 8051
Sat Mar 14 2020, 04:06 AM
@ Rohitnani,ABEBE..which project ?
Fri Mar 13 2020, 06:25 PM
how can get hadwere of this project
Sat Mar 07 2020, 10:41 PM
Sir, Could you please send me the zip file input password....
Wed Feb 26 2020, 10:28 PM
Peter Parker
Is it possible to send multiple messages using only 1 GSM module?
Sat Feb 01 2020, 03:42 PM
Pearl Olin
Wed Jan 22 2020, 11:46 PM
I m getting errors while simulation process during interfacing socket output and lcd... Can i get the report of ur project which is same as us.



Thu Jun 25 2020, 03:46 PM
Mon Jun 22 2020, 03:03 PM
Tue Jun 16 2020, 05:10 PM
Sat Jun 13 2020, 09:43 PM
Thu May 21 2020, 12:44 PM
Thu May 21 2020, 01:28 AM
Wed May 20 2020, 07:05 PM
Wed May 20 2020, 11:52 AM


Guests: 113, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38215
Newest member: Mirza123
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Jul 01 2020, 11:07 PM
PS: I am a new learner thats why my question may s...
Mirza123 Avatar
Posted By Mirza123
Wed Jul 01 2020, 02:05 PM
Thanks for the assistance. I have read the data sh...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Jul 01 2020, 10:12 AM
See section 15 (Ports) of the data sheet. ...
wimac Avatar
Posted By wimac
Tue Jun 30 2020, 10:05 AM
How did you know that it is not 8051. Mirza123It i...
Mirza123 Avatar
Posted By Mirza123
Tue Jun 30 2020, 08:39 AM
It seems ports on the AT89LP2052 is not like on th...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Jun 30 2020, 08:34 AM
It seems ports on the AT89LP2052 are not like on t...
Mirza123 Avatar
Posted By Mirza123
Thu Jun 25 2020, 04:07 PM
Hello!i am trying to use AT89LP2052 ( AT89LP2052 h...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Jun 17 2020, 09:42 PM
It is about capacitor? i should put it between Vcc...
cerouno Avatar
Posted By cerouno
Wed Jun 17 2020, 10:37 AM
Take another look at the power supply to the LCD.A...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Jun 17 2020, 02:01 AM
Take another look at the power supply to the LCD.A...