Gpsbee and stalker 2.b

Hello,

I’ve a seeeduino stalker 2.b, and I’m not able to use a gps bee module, neithe in the bee slotnor using a shieldxbee.

What I have to do to let him run?

Thanks!

MArco

no opinion? here my code:

[code]/*
Program that read a char from serial port and turn on a led (pin 13)
if the char was H. Put it low is the char is an L
*/

/* parallax code */

//int ledPin = 13;

#include <Wire.h>

char string[32];
char byteRead;

int ledPin = 13; // LED test pin
int rxPin = 0; // RX PIN
int txPin = 1; // TX TX
int byteGPS=-1;
char linea[300] = “”;
char comandoGPR[7] = “$GPRMC”;
int cont=0;
int bien=0;
int conta=0;
int indices[13];
/------------------------------------/

void setup() {
// initialize serial communication:
Serial.begin(9600);
/* parallax code */
for (int i=0;i<300;i++){ // Initialize a buffer for received data
linea[i]=’ ';
}

// initialize the LED pins:
// pinMode(ledPin, OUTPUT);
}

void loop() {

digitalWrite(ledPin, HIGH);
byteGPS=Serial.read(); // Read a byte of the serial port
if (byteGPS == -1) { // See if the port is empty yet
delay(100);
} else {
linea[conta]=byteGPS; // If there is serial port data, it is put in the buffer
conta++;
Serial.print(byteGPS, BYTE);

 }

} [/code]

Thanks!

No support for this Item? :astonished:

How is the gps bee thing supposed to be connected anyway? In another thread someone is trying to use NewsoftSerial to talk to gps on pins 11 and 12 if I remembe correctly…

Yes, GPSbee can work with Stalker v2.0.

Thanks
Albert