Jump to content
43oh

ZenClide

Members
  • Content Count

    5
  • Joined

  • Last visited

Everything posted by ZenClide

  1. I tried the same setup and did not work, i tried with and without EMT. So I looked around in the libraries to see the pin configurations, I found a file called pins_energia.h in which I found the following structure: const uint16_t digital_pin_to_pin_num[] = { NOT_A_PIN, /* dummy */ NOT_A_PIN, /* 1 - 3.3V */ PIN_58, /* 2 - GPIO_03 */ PIN_04, /* 3 - GPIO_13 */ PIN_03, /* 4 - GPIO_12 */ PIN_61, /* 5 - GPIO_06 */ PIN_59, /* 6 - GPIO_04 */ PIN_05, /* 7 - GPIO_14 */ PIN_62, /* 8 - GPIO_07 */ PIN_01, /* 9 - GPIO_10 */ PIN_02, /* 10 - GPIO_11 */ PIN_15, /* 11 - GPIO_22 */
  2. That doesn't work for me . The LED stays on and nothing happens when I pressed the button, I think that might be because of the external pulldown resistor on the board?
  3. Hi everyone! I'm a student from south Florida seeking a Bachelor's degree in Computer Engineering. I am currently using the CC3200 launchpad for a project and I'm looking to learn a lot from this forum!
  4. Hello! I recently started playing with Energia and the CC3200 LaunchPad. I tried the example for "attachInterrupt" in the link: http://energia.nu/reference/attachinterrupt/ I changed the code a little by modifying pinMode and attachIntterrupt #define PUSH 4 ... pinMode(PUSH, INPUT); // I want Pin 4 as my interrupt or SW3 on the board, only Input because the board has a pull down resistor already attachInterrupt(PUSH, blink, FALLING); } void loop() { ... } When I run this example, the interrupt is serviced multiple times at random without me touching the button. I
×
×
  • Create New...