Jump to content
43oh

DrNo

Members
  • Content Count

    1
  • Joined

  • Last visited

About DrNo

  • Rank
    Noob Class

Contact Methods

  • Website URL
    http://www.myweb.es

Profile Information

  • Location
    tenerife
  • Interests
    arduino
  1. I own a tive C TM4C123G and I'm trying to read from PORT C UART1 RX pin PC4. I've tried from the port B PB0 UART RX without problem. any can help me? thanks in advance (energia E0015) //serial1 UART1 //PC4 midi in RX //PC5 midi out TX #define LED RED_LED boolean lowhigh; byte incomingByte; void setup() { Serial1.begin(31250);// Set MIDI baud rate: pinMode(LED, OUTPUT); } void loop() { if (Serial1.available() > 0) { incomingByte = Serial1.read(); incomingByte=(incomingByte & 0xF0);//dejamos pasar 1111000 4 primeros bits if (incomingByte==0x90){ /
×
×
  • Create New...