Maceraperest 0 Posted February 14, 2015 Share Posted February 14, 2015 How do I ; Serial Communication Between Two Tiva™ C Series ek-tm4c123gxl. my best compliments Quote Link to post Share on other sites
igor 163 Posted February 14, 2015 Share Posted February 14, 2015 Do you just want serial ports, or to use something fancier like SSI? For serial ports, wiring should be basically Rx to Tx and Tx to Rx. If you are coming from the Arduino world, you might want to try Energia for doing the software. Maceraperest 1 Quote Link to post Share on other sites
Maceraperest 0 Posted February 14, 2015 Author Share Posted February 14, 2015 For serial ports, wiring should be basically Rx to Tx and Tx to Rx. Solves my problem. Thanks igor. Quote Link to post Share on other sites
Maceraperest 0 Posted February 14, 2015 Author Share Posted February 14, 2015 where is the problem const int ledPin = GREEN_LED; void setup() { Serial.begin(9600); pinMode(ledPin, OUTPUT); } void loop() { int inByte = Serial.read(); if (inByte == 5) { digitalWrite(ledPin, HIGH); } else { digitalWrite(ledPin, LOW); } } Quote Link to post Share on other sites
igor 163 Posted February 17, 2015 Share Posted February 17, 2015 where is the problem What are the symptoms? (i.e. what are you trying to do, what is happening different from what you want?) Quote Link to post Share on other sites
Maceraperest 0 Posted February 17, 2015 Author Share Posted February 17, 2015 I want to relay to drive with 74HC595 (Shift Register). Do not take into account the above code Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.