User Tools

Site Tools


pic32mx270f256b

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
pic32mx270f256b [2019/04/25 12:53]
sausage [Wiring up to the breadboard]
pic32mx270f256b [2019/05/09 02:48]
sausage [Minimum setup for a PIC32MX270F256B on a Breadboard + PICkit3]
Line 1: Line 1:
 ====== Minimum setup for a PIC32MX270F256B on a Breadboard + PICkit3 ====== ====== Minimum setup for a PIC32MX270F256B on a Breadboard + PICkit3 ======
  
-After discovering that my PIC32MX170F256B did not sport a USB module, I then purchased a PIC32MX270F256B which did have one.+My first experiments with PIC Microcontrollers was on the PIC32MX170F256B. But after discovering that there was no USB module ​on that controller, I then purchased a PIC32MX270F256B which did have one.
  
 This article serves as a reminder for the minimum setup for this microcontroller. This article serves as a reminder for the minimum setup for this microcontroller.
Line 67: Line 67:
 In the MPLABX IDE, create a new C project and in the main.c file, add the following before the while loop: In the MPLABX IDE, create a new C project and in the main.c file, add the following before the while loop:
  
-<​code>​+<​code ​C>
 TRISA = 0b00000000; //all PortA pins are output TRISA = 0b00000000; //all PortA pins are output
 PORTA = 0b00000010; //set pin 3 (RA1) to on. (supply 3.3 volts) PORTA = 0b00000010; //set pin 3 (RA1) to on. (supply 3.3 volts)
pic32mx270f256b.txt ยท Last modified: 2021/12/14 12:07 by sausage