Jump to content
43oh

joelfinkle

Members
  • Content Count

    18
  • Joined

  • Last visited

About joelfinkle

  • Rank
    Member

Contact Methods

  • Website URL
    https://thigmotaxic.blogspot.com

Profile Information

  • Location
    Chicago
  1. Is there any way to translate from that to Fritzing?
  2. Is there anyone with the tools to flatten this down into a Fritzing part with appropriate headers & jumpers?
  3. Rei - Thanks, I'll take a look. Odds are it'll need some tweaking for a Tiva, but hopefully not much.
  4. Has anyone tried to use Energia with the Pervasive Displays EPD Booster Pack? http://www.pervasivedisplays.com/kits/ext_kit If not, I may be endeavoring to create a library. I haven't started yet, but I just got the kit.
  5. I received my prize (Pervasive displays 2" EPD kit), heading now for the datasheet. Thanks for the quick delivery.
  6. From the blurry photos, it looks like Two full sets of Tiva-style headers (pins still on the wrong side of the board, but once you've established the Booster Packs, you're sort of stuck with it) Seven blocks of 2x7 connections, no headers, plus a mess of other connector points on the board, and a fist full of jumpers. 2x7 is a weird number. I'm almost thinking that this is more likely to be prototyping/breadboard space than chip pinouts. Four pushbuttons Micro-USB at each end -- not necessarily any better than the current combo of power and debug connectors -- the chips on the right side re
  7. I tried the sweep example that came with the servo library, and while it compiles, I doesn't do anything on upload. It's a mini servo that came with a Radio Shack "Arduino Starter Kit", brown wire to ground, red wire to VBUS, yellow to PF_1, using a Tiva board. Any suggestions? I don't have any other way to verify if the servo works.
  8. This is my first microcontroller project (aside from a couple of Hello World's after I received my Tiva), but I've been programming professionally for more than 30 years -- less so in the last decade. Tic Tac Toe, called noughts and crosses elsewhere in the world, is a pretty simple strategy game, and I thought it would be well suited for a first project. tic tac toe by joelfinkle, on Flickr There are 18 LEDs (9 each of red and green), not counting the onboard RGB (used for status). While there are plenty of pins on the Tiva, it seemed worth learning Charlieplexing. That provided an a
  9. I have a basic tic-tac-toe game I'm programming, but I'm not seeing correct inputs on two slider switches. One leg of each pin is connected to V3.3, The center pins are connected to PA_2 and PA_3. In the globals: int humans[2] = {1,1}; In setup: (added Serial lines for debugging) pinMode(PA_3, INPUT); // Play against computer? pinMode(PA_2, INPUT); // Which player is computer? if (digitalRead(PA_3) == LOW) { // Yes, play against computer humans[digitalRead(PA_2) == HIGH ? 0 : 1] = 0; // set either player 1 or player 2 as computer player } Serial.begin(9600); delay(250);
  10. Oh obviously on the charlieplexing of LEDs vs incandescent -- I used "lamps" instead of typing LED again... but I've seen the term "LED Lamps" so I didn't think of that being any confusion. I was planning on 5-pin 'plexing, just to keep the wiring clean (Fritzing is fun -- got a PCB routed for if I get this working). I won't be able to use your image routine, but the code is short enough that I can one-off a version for my purposes. I'll credit you if I publish it on these boards or stellarisiti (I'm using a Tiva C). Alternatively, it might be worth a version where your "image" is replaced
  11. Thanks, I think I get it now. The only other thing I can see is that everything but the Tick would be in an Energia "setup" function, and the Tick in the "loop" I'm playing with a Tic Tac Toe (Noughts and Crosses) game design. I'm considering using your library, but since the two players' placement will be inverse pins (e.g. Player One in the upper left corner would be Pin 0 to Pin 1, but Player Two is Pin 1 to Pin 0 for the same spot), i can probably get some significant simplifications rewriting much of it. I do want to think about timing code -- i hadn't considered that putting all m
  12. So if I understand you, the above example is a 3-pin charlieplexing... but you only declare two pins. Am I missing something? I'm not quite following how the charlieplex class is mapping pins to LEDs, so that you get the Pins*(Pins-1) total outputs, e.g. 1->2, 2->3, 3->1, 2->1, 3->2, 1->3 = your 2x3 image
  13. I realize it's been a while since you posted this, but could you explain your example with a bit more detail? If I have 6 LEDs charlieplexed on three pins (or 12 on four pins, or 20 on 5), what would I use to set it up?
  14. Cool... now to figure out if it will work with Energia. There's a usb.h, but it doens't match usblib.
×
×
  • Create New...