Burn Vehicle Numbers in 89C51

Thread Starter

Faizan

Joined Oct 16, 2010
4
Hi
i want to burn vehicle numbers on 89C51 ports: For example

Port 1
IDE 5678

Port 2
LHR 7698

Port 3
AJK 5438

etc
Can anybody help me. i need code

Regards Faizan
 

t06afre

Joined May 11, 2009
5,934
I have some problems in understanding what you want to do here. And I think i am not the only one ;) Can you tell us more about your project.
 

Thread Starter

Faizan

Joined Oct 16, 2010
4
Actually i want to attach dip switches to 89c51. and from that i put single vehicle number in eeprom. so in a sense 89c51 works like a database from which i put single data in eeprom.
 

GetDeviceInfo

Joined Jun 7, 2009
2,196
The internal memories of the '51 are great for holding variables, lookup tables, etc, but for databasing you need to settle on the size of database in bytes that you require, and we need to know.
 

Thread Starter

Faizan

Joined Oct 16, 2010
4
can we put data from 89c51 into eeprom. fro example when i on dip switch 1 then i get data of port 1 in eeprom???
 

Thread Starter

Faizan

Joined Oct 16, 2010
4
I have some problems in understanding what you want to do here. And I think i am not the only one ;) Can you tell us more about your project.
Actually i want to attach dip switches to 89c51. and from that i put single vehicle number in eeprom. so in a sense 89c51 works like a database from which i put single data in eeprom.
 

GetDeviceInfo

Joined Jun 7, 2009
2,196
can we put data from 89c51 into eeprom. fro example when i on dip switch 1 then i get data of port 1 in eeprom???
Yes, of course, but dip switching ascii characters into a micro port just wouldn't be useful for anything.
 
Top