Jump to content
43oh

L293D

Members
  • Content Count

    65
  • Joined

  • Last visited

  1. Very interesting. So the reason I asked this in the first place was because I would really like to use the SharpLCD library code with the StellarPad. It fails to compile because of the call to __delay_cycles. Should I just define it as a longer delay...like 1 us?
  2. Is there a work around for the StellarPad for the __delay_cycles macro? It is used extensively some of the library code for the MSP430, however I do not see a NOP, or __delay_cycles for the StellarPad. The best I could come up with would be to define __delay_cycles(x) as something like delayMicroseconds(x/80) Any help would be appreciated. L293D
  3. Issue with Energia: When I try to compile anything I get this error message: C:\Temp\build409393309414726193.tmp\core.a, -LC:\Temp\build409393309414726193.tmp, -lm] c:/documents and settings/jerodaweaver/desktop/energia11/energia-0101e0011/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld.exe: cannot open linker script file memory.x: No such file or directory collect2: ld returned 1 exit status Where is the path to ld.exe stored? I checked in preferences.txt and didn't find it. Perhaps I am doing something wrong, however, I have ALL of the other energ
  4. L293D

    Auduino code

    Ok, so I have figured part of this out. Now the only thing I can't figure out is why analogRead doesn't work when I am using an interrupt (CCIE) on TA0. Is that because analogRead uses the same interrupt? If so, does that just mean that I need to setup the ADC manually instead of using analogRead?
  5. L293D

    Auduino code

    I am sure everybody has seen the Auduino code (Grain synth for arduino). I don't really understand the way that the PWM is setup, so I have no idea how to make this work on the MSP430 (or if it even can). Could someone explain how the timers are setup in this code? and the interrupt vector as well? I am just curious how one would setup the timer on one of the MSP430's? // Auduino, the Lo-Fi granular synthesiser // // by Peter Knight, Tinker.it http://tinker.it // // Help: http://code.google.com/p/tinkerit/wiki/Auduino // More help: http://groups.google.com/group/auduino // // Analog
  6. Does the kit in the 43oh store come with the DAC? I don't see it in the picture (and in the build thread it says it is optional).
  7. Ok, so I just ordered one, and it mentions that Energia is going to support this board. Is there anyone here who can confirm this? and Confirm when support will be available? L293D
  8. I guess that answers that. Thanks @@Rei Vilo
  9. Has there been anymore work done on adding support for the 2955 and 2744 to Energia? or did the issues with programming them put an end to development? Are there any plans to add Energia support for the Hercules launchpads just released? L293D
  10. My question is similar, except it involves the hardware. If I want to build a PCB, and use the LM4F chip on the PCB, is there some place where I can easily see a basic circuit design? By that I mean, what needs to be pulled up, or down for the chip to run/reset...where I would need to put caps, etc. I know that is a pretty broad question, but what I want to know is...if I program one to for instance...blink an LED...other than VCC, GND, and I would assume RESET has to be pulled high or low (haven't check in the datasheet yet)...what else do I need to get it going? L293D
  11. @@spirilis and @@Rei Vilo - Thank you very much for all of your help. Everything is working now. I understand what I was doing wrong. I really appreaciate it. My hall effect sensors came today - I just hooked it up, put a magnet on a broken bit for my dremel, and started slow, and ended up fast...seemed to be pretty darn close on the RPM. I am very impressed. I think it will be able to handle the massive RPM on my bicycle wheels ;-) Thanks again! L293D
  12. I was almost sure that I already tried that...however, it was almost 1am when I was getting to that part...and I may have been a bit cloudy. I will try again and see what happens. Thanks @@spirilis L293D
  13. I absolutely understand that....so what I want...is to get the FLOAT output from the operation. So what am I doing wrong here? I need the decimal output to calculate the speed, etc.
  14. volatile byte revolutions; unsigned int rpmilli; float speed; long gTest; unsigned long timeold; void setup() { Serial.begin(9600); pinMode(PUSH2, INPUT_PULLUP); attachInterrupt(PUSH2, rpm_fun, FALLING); revolutions = 0; rpmilli = 0; timeold = 0; } void loop() { if (revolutions >= 5) { //Update RPM every 20 counts, increase this for better RPM resolution, //decrease for faster update // calculate the revolutions per milli(second) rpmilli = (revolutions/(millis()-timeold)); //** EDIT: it should be revolutions/(millis()-timeold) unsigned long test = mi
  15. I had 30min before work, copied and built it. I will test when I get home. In the mean time if someone could look at the code and see if I am implementing it correctly, I would appreciate it. I am mostly wondering if I wrote the two functions properly, and if I have created an instance of the SRAM object correctly in the 5110 graphics lib. It all compiles...just doesn't display on the screen. L293D
×
×
  • Create New...