Go Down

Topic: [SOLVED] Reading strange characters (Read 1 time) previous topic - next topic

Positive07

Oct 10, 2011, 05:07 am Last Edit: Oct 10, 2011, 09:23 pm by Positive07 Reason: 1
I am trying to display a file from a SD card using the serial comunication with the PC... I want to know if it can send a string that has strange characters as those (like ??ð) that you see in the .exe files when you open them with the notepad... Is it posible?


Thanks for reading!!

-Positive07-
void.setup(){
//---Rubikuino---//
}
void.loop(void)

PaulS

Quote
I am trying to display a file from a SD card using the serial comunication with the PC.

Display it where?

Quote
I want to know if it can send a string that has strange characters as those (like ??ð) that you see in the .exe files when you open them with the notepad... Is it posible?

If "it" is the Arduino, then, yes it can send binary data to the serial port.

There may be any number of reasons why you get strange characters if you are not expecting them, or not getting them if you are. We'd need to see some code, and know what is actually on the SD card, and see what output you do get.

Positive07

Well it is an image and it is send to the computer. A program read every line sent by the arduino from the sd card and then make a file into the computer (like copying it from the sd card). It is used as a SD reader. But well this is the first prototype of something bigger :) Thanks for answering...

-Positive07-
void.setup(){
//---Rubikuino---//
}
void.loop(void)

Go Up