Show Posts
Pages: [1]
1  International / Scandinavia / Re: Arduino uno: bluetooth on: December 24, 2011, 04:55:00 pm
Onhan noita vaikka minkälaisia. Ehkä helpoimmalla pääset käyttämällä Bluetooth shieldiä. Ks. http://www.seeedstudio.com/depot/bluetooth-shield-p-866.html?cPath=132_134
2  International / Scandinavia / Re: GPS nopeus näytölle? on: December 24, 2011, 04:51:12 pm
Jotenkin näin:
Code:
Serial.print("Velocity in knots: ");
for (int j=indices[6];j<(indices[6+1]-1);j++){
             Serial.print(linea[j+1]);
}
Muuttuja i on siis korvattu numerolla 6 koska tuossa case-rakenteessa nro 6 on tuo velocity. Toivottavasti osaat sijoittaa tuon em. koodinpätkän oikeaan paikkaan koodissa.
3  Using Arduino / Networking, Protocols, and Devices / Re: SoftwareSerial library not working on Arduino 1.0, NewSoftSerial on 0023 works on: December 07, 2011, 08:42:21 am
This code is from the SoftwareSerial example folder. I've changed RX/TX ports to the right ones, which works on my other project file in the earlier version of Arduino. I'm 100% sure that this is not a hardware problem since the other project is working and receiving data from my serial device.

"Goodnight moon!" prints to Serial output but I'm not able to receive anything from mySerial.

Code:
#include <SoftwareSerial.h>

SoftwareSerial mySerial(8, 9);

void setup() 
{
  Serial.begin(9600);
  Serial.println("Goodnight moon!");

  // set the data rate for the SoftwareSerial port
  mySerial.begin(9600);
  mySerial.println("Hello, world?");
}

void loop() // run over and over
{
  if (mySerial.available())
    Serial.write(mySerial.read());
  if (Serial.available())
    mySerial.write(Serial.read());
}
4  Using Arduino / Networking, Protocols, and Devices / Re: SoftwareSerial library not working on Arduino 1.0, NewSoftSerial on 0023 works on: December 04, 2011, 01:42:27 pm
Anyone?
5  Using Arduino / Networking, Protocols, and Devices / SoftwareSerial library not working on Arduino 1.0, NewSoftSerial on 0023 works on: December 01, 2011, 10:50:16 am
I can't get SoftwareSerial library working with Arduino 1.0. Even if I use the included example (Examples/SoftwareSerial/SoftwareSerialExample) I can't receive anything, but when I start Arduino 0023 and use NewSoftSerial with same settings and ports as in SoftwareSerial on Arduino 1.0, everything is working and I'm receiving data from a module that uses rx/tx to communicate.
Pages: [1]