The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 864 - File: showthread.php PHP 7.2.24 (Linux)
File Line Function
/showthread.php 864 errorHandler->error

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Modded io.c and Serial.c Pic32MX250
02-06-2014, 09:31 PM,
Modded io.c and Serial.c Pic32MX250
Hi all,

i have made a small modification on io.c and serial.c for the pic32 DIY boards.
The idea is, for those who want a serial link (with bluetooth for example), and find that the number of pins is too short, to have the two USB pins transformed into a serial interface (serial2).
For the hardware this can be easily done with a modified cable with usb plug at one end and the bluetooth / and or ttl rs232 link at the other end (RX/TX only), or for those who want, 2 wires soldered on the usb D+/D- pins.
To use the functionnality just put in your code a #define USBASSERIAL2 1

I have still to test if it works, but should be ok.


.c   io.c (Size: 5.63 KB / Downloads: 2)

.c   serial.c (Size: 35.56 KB / Downloads: 3)

Messages In This Thread
Modded io.c and Serial.c Pic32MX250 - by joel - 02-06-2014, 09:31 PM
RE: Modded io.c and Serial.c Pic32MX250 - by joel - 11-06-2014, 10:22 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)