Jump to content
43oh

Search the Community

Showing results for tags 'digitalWrite'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • Announcements
    • Suggestions
    • New users say Hi!
  • Spotlight!
    • Sponsor Spotlight
    • Sponsor Giveaways
  • Energia
    • Energia - MSP
    • Energia - TivaC/CC3XXX
    • Energia - C2000
    • Energia Libraries
  • MSP Technical Forums
    • General
    • Compilers and IDEs
    • Development Kits
    • Programmers and Debuggers
    • Code vault
    • Projects
    • Booster Packs
    • Energia
  • Tiva-C, Hercules, CCXXXX ARM Technical Forums
    • General
    • SensorTag
    • Tiva-C, Hercules, CC3XXX Launchpad Booster Packs
    • Code Vault
    • Projects
    • Compilers and IDEs
    • Development Kits and Custom Boards
  • Beagle ARM Cortex A8 Technical Forums
    • General
    • Code Snippets and Scripts
    • Cases, Capes and Plugin Boards
    • Projects
  • General Electronics Forum
    • General Electronics
    • Other Microcontrollers
  • Connect
    • Embedded Systems/Test Equipment Deals
    • Buy, Trade and Sell
    • The 43oh Store
    • Community Projects
    • Fireside Chat
  • C2000 Technical Forums
    • General
    • Development Kits
    • Code Vault
    • Projects
    • BoosterPacks

Calendars

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Location


Interests


Sparkfun


Github

Found 2 results

  1. Hello, For a certain experiment I need to do, I need to generate some pulses, as fast as possible. For beginning I need a square wave, basically, so I wrote the following code: (which does not work, according to my scope) #include <Energia.h> #include "inc/lm4f120h5qr.h" #include "driverlib/gpio.h" void setup() { GPIOPadConfigSet(GPIO_PORTA_BASE, 0xff, GPIO_STRENGTH_2MA, GPIO_PIN_TYPE_STD); GPIODirModeSet(GPIO_PORTA_BASE, 0xff, GPIO_DIR_MODE_OUT); } void loop() { GPIOPinWrite(GPIO_PORTA_BASE, GPIO_PIN_6, LOW); GPIOPinWrite(GPIO_PORTA_BASE, GPIO_PIN_6, HIGH); }
  2. Hi, I think that some of my pins are ruined. I am not getting the output from them. I am pretty sure that the code is not faulty since when I saw it was not working in Keil, I tried the code in Energia and as you know there is not much room for error in that. void setup() { pinMode(PA_5,OUTPUT); } void loop() { digitalWrite(PA_5,HIGH); } This is not working. I replaced PA_5 with PA_2, and connected the wire from PA5 to PA2, and did nothing else to the hardware. Working. Is there ANY other explanation than a ruined board? also the same thing with PB_7. these are the two that I no
×
×
  • Create New...