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.

How can I convert a text (*.txt) file into raw binary?

Status
Not open for further replies.

Sputnik

Full Member level 3
Full Member level 3
Joined
Oct 19, 2004
Messages
150
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,298
Location
South Africa
Activity points
1,667
Binary files

How can I convert a text (*.txt) file into raw binary?

Sputnik
 

Re: Binary files

There is NO binary representation of a text-file..unless you compress it for example (o;

Why do you want "binary" version of it????
Makes no sense...
 

Re: Binary files

Well, how else can I get a PIC to read/write a data file from/to a memory card or else where?

Sputnik
 

Re: Binary files

You just read/write is as binary...like all filesystems are doing it...

A text-file just means that it represents ASCII characters only out of the 256 possible CHARs!!!!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top