Skip to content

HOW TO READ DATA FROM OPENC3 COSMOS #67

@Mohan-FSW

Description

@Mohan-FSW

Hi,
I am new to cosmos,i just tried a read following code from ARDUINO by using openc3 cosmos local host 2900.
void setup() {
// put your setup code here, to run once:

Serial.begin(9600);

}

void loop() {
// put your main code here, to run repeatedly:
if (Serial.available()>0){
char command=Serial.read();
if (command=='A')
Serial.println("command A received");

}
delay(100);
}

I used serial bridge for connection.It showing connection was sucees but i am not able to see the data when i sent command .can you help in resoving the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions