Jump to content

All Activity

This stream auto-updates     

  1. Last week
  2. enl

    Hows everyone doing ?

    I'll bite. Still teaching engineering. and still work as weld engineer (and whatever other label they need) for the same company. Doing more work on the side. Pumped out about 3K lines of code for a machine control during June and July (and hardware to interface to the existing hardware). Got introduced to a new-to-me form of NDA that essentially makes the two months not exist in my resume. Device used was an MSP430, as it was sufficient and I have them in stock. CNC'd my lathe (another MSP430... yup I have a pretty big stock of several flavours) As winter approaches and the temperature today was 5 degrees (40F), I envy where you are. But I would not survive in hospitality. I have avoided it, even in lean times, because I know it would not go well. You have my deep respect.
  3. yyrkoon

    Hows everyone doing ?

    Hows everyone doing ? Just curious . . . So in the last two years, I have done zero coding. The contract for the last paid programming job I had ended in December 2017. When a buddy of mine( from High school ) found out and asked me if I wanted to visit / hangout at his place for a while. Since his place was/is located on Maui . . . yeah.Enough said. So again, no coding in the last couple years. Checking the local job offers through craigslist / news paper. Not many tech jobs become available here. However with the release of the Beaglebone AI, I started to get that itch again. Then within the last couple days, I finally saw a listing on craigslist that turned my head. C++ engineer job with preferred unreal(game engine) experience. The first person I thought of was Rick, when all of a sudden I realized it had been a while since I've visited here. Anyways, not really much going on here with me. Just working the typical job(Hospitality) making ends meet. Chasing after the local "wild life" What have you all been up to? Seriously considering taking a crash course in C++ / Unreal game engine. . .
  4. EmileGethY

    Which BoosterPacks would you like developed?

    Have they made a dragon with one head? If not that then I would like a giant rodent. Not the best idea. Or a fire breathing geko.
  5. Often students delay submitting their homework or assignments within their time limit, do not pay enough attention to them, and are engaged in other projects as they think of more important academic work. As the deadline for submission of assignments draws closer, students begin to panic and seek out online experts' support services.

    With the effective guidance of our team for Java programming problems, we also work tirelessly to improve your grade. If you are tired of completing work on Java programming, seek help online from our talented instructor. Specialist teams are available at any time to assist you in all types of subjects related to myhomeworkhelponline Java programming, allowing you to easily complete Java assignments to achieve an A + grade. You can certainly gather very important information under the guidance of our energetic Java programming faculty.

    C programming assignment help.jpg

    1. Show previous comments  26 more
    2. DobroWak

      DobroWak

      Разговаривая с девушкой, обращай внимание не на слова, а на интонацию сказанного. Из уст девушки даже безобидная фраза "все хорошо" принимает двоякий смысл

    3. WilliamDug
    4. DebraRor
  6. StefanSch

    Serial monitor

    Which device are you using with the launchpad. This devices are having quite low memory and with using such a big function like printf the memory can easily overflow.
  7. ksachinkumar

    Serial monitor

    I an using mspexp430g2 launchpad on energia with windows 10 OS.In this while compiling the inbulit "DigitalReadSerial" example code from energia IDE ,at that time it should print the output in the Serial Monitor screen . But it does not print anything.Please help me.
  8. miguelzea35

    Interrupts for TM4C123GXL

    I tried another code to prove only one encoder but think I can't use HIGH and LOW for interrupts in Energia int A = PD_1; //variable A a pin digital 2 (DT en modulo) int B = PD_2; //variable B a pin digital 4 (CLK en modulo) float GRADOS = 0; int ANTERIOR = 0; // almacena valor anterior de la variable POSICION volatile int POSICION = 0; // variable POSICION con valor inicial de 50 y definida // como global al ser usada en loop e ISR (encoder) void setup() { pinMode(A, INPUT); // A como entrada pinMode(B, INPUT); // B como entrada // pinMode(23, OUTPUT); Serial.begin(9600); // incializacion de comunicacion serie a 9600 bps attachInterrupt(digitalPinToInterrupt(A), encoder, LOW);// interrupcion sobre pin A con // funcion ISR encoder y modo LOW Serial.println("Listo"); // imprime en monitor serial Listo } void loop() { // digitalWrite(23, HIGH); if (POSICION != ANTERIOR) { // si el valor de POSICION es distinto de ANTERIOR GRADOS=POSICION*0.35; Serial.print(POSICION); // imprime valor de POSICION Serial.print(" "); Serial.println(GRADOS); ANTERIOR = POSICION ; // asigna a ANTERIOR el valor actualizado de POSICION } } void encoder() { static unsigned long ultimaInterrupcion = 0; // variable static con ultimo valor de // tiempo de interrupcion unsigned long tiempoInterrupcion = millis(); // variable almacena valor de func. millis if (tiempoInterrupcion - ultimaInterrupcion > 0.5) { // rutina antirebote desestima // pulsos menores a 5 mseg. if (digitalRead(B) == HIGH) // si B es HIGH, sentido horario { POSICION++ ; // incrementa POSICION en 1 } else { // si B es LOW, senti anti horario POSICION-- ; // decrementa POSICION en 1 } POSICION = min(2000000, max(-2000000, POSICION)); // establece limite inferior de 0 y // superior de 100 para POSICION ultimaInterrupcion = tiempoInterrupcion; // guarda valor actualizado del tiempo } // de la interrupcion en variable static }
  9. Kannannatesh

    Interrupts for TM4C123GXL

    Try this attachInterrupt(digitalPinToInterrupt(Left_Encoder_PinA), do_Right_Encoder, RISING);
  10. terjeio

    Interrupts for TM4C123GXL

    Here is my interrupt driven QEI implementation - not a Energia library but may provide some ideas? The code is not 100% reliable for the MPG_GetPosition() function though - interrupts should be disabled during the memcpy call... Terje
  11. Rei Vilo

    Interrupts for TM4C123GXL

    Why aren't you using the built-in QEP inputs? The TM4C123 features 2 QEP with TTL inputs natively. See my separate answer to your previous thread. You may need to declare the variables as volatile.
  12. The code I mentioned actually works for me. I went through the well-written TivaWare™ Peripheral Driver Library for C Series User's Guide (Rev. D). As an option, you can start from scratch and develop your own library.
  13. miguelzea35

    Interrupts for TM4C123GXL

    I'm trying to read two encoders to know the angular position using interrupts but something is wrong, the code compiles but in serial just prints "0", what can i change? volatile long Left_Encoder_Ticks = 0; volatile bool LeftEncoderBSet; #define Right_Encoder_PinA PC_5 #define Right_Encoder_PinB PC_6 volatile long Right_Encoder_Ticks = 0; volatile bool RightEncoderBSet; void setup() { Serial.begin(9600); SetupEncoders(); } void SetupEncoders() { pinMode(Left_Encoder_PinA, INPUT_PULLUP); pinMode(Left_Encoder_PinB, INPUT_PULLUP); attachInterrupt(Left_Encoder_PinA, do_Left_Encoder, RISING); pinMode(Right_Encoder_PinA, INPUT_PULLUP); pinMode(Right_Encoder_PinB, INPUT_PULLUP); attachInterrupt(Right_Encoder_PinA, do_Right_Encoder, RISING); } void loop() { Update_Encoders(); } void Update_Encoders() { Serial.print(Left_Encoder_Ticks); Serial.print("\t"); Serial.print(Right_Encoder_Ticks); Serial.print("\n"); } void do_Left_Encoder() { LeftEncoderBSet = digitalRead(Left_Encoder_PinB); Left_Encoder_Ticks -= LeftEncoderBSet ? -1 : +1; } void do_Right_Encoder() { RightEncoderBSet = digitalRead(Right_Encoder_PinB); Right_Encoder_Ticks += RightEncoderBSet ? -1 : +1; }
  14. I tried the codes that they use but didn´t work
  15. Rei Vilo

    Compiler option change with latest board file

    You can easily change those parameters by editing the file ~/Library/Energia15/packages/energia/hardware/msp432r/5.25.0/platform.txt on macOS.
  16. Perform a search with quadrature https://forum.43oh.com/search/?&q=quadrature See http://forum.43oh.com/topic/7170-using-harware-qei-on-tiva-launchpad/
  17. Earlier
  18. I want know why my code isn't work, I used to use in TM4C129 and edit the code to used in TM4C123GXL, but it doesn't work. #include <stdint.h> #include "driverlib/sysctl.h" #include "driverlib/qei.h" int pos; void setup() { Serial.begin(9600); // Setup QEI Module SysCtlPeripheralEnable(SYSCTL_PERIPH_QEI0); GPIOPinConfigure(0x00031806); //GPIO_PD6_PHA0 GPIOPinConfigure(0x00031C06); //GPIO_PD7_PHB0 GPIOPinTypeQEI(GPIO_PORTL_BASE, GPIO_PIN_1 | GPIO_PIN_2); // Configure and Enable QEI QEIConfigure(QEI0_BASE, (QEI_CONFIG_CAPTURE_A_B | QEI_CONFIG_NO_RESET | QEI_CONFIG_QUADRATURE | QEI_CONFIG_NO_SWAP), 2147483648); QEIVelocityConfigure(QEI0_BASE, QEI_VELDIV_1, SysCtlClockGet()); // Divide by clock speed to get counts/sec QEIEnable(QEI0_BASE); QEIVelocityEnable(QEI0_BASE); } void loop() { // Report Position & Velocity of Encoder to Serial Terminal Serial.print(QEIPositionGet(QEI0_BASE)); Serial.print(','); Serial.println(QEIVelocityGet(QEI0_BASE)); delay(10); }
  19. JRDavisUF

    Compiler option change with latest board file

    Looks like -Os has returned in 5.25.1
  20. Rei Vilo

    List of all boosterpacks

    Have a look at the BoosterPack Checker, part of TI Cloud Tools. It lists all LaunchPads and BoosterPacks, and allows to check the compatibility. https://dev.ti.com/bpchecker/
  21. EmileGethY

    List of all boosterpacks

    As a new player, Im struggling to find a list of all the games dungeons. The only list Ive found seems to be pre-expansion and thus lack many dungeons. Can anyone point me in the right direction? Thanks
  22. https://github.com/energia/msp432r-core/issues/34
  23. JRDavisUF

    Compiler option change with latest board file

    https://github.com/energia/msp432r-core/issues/29
  24. Rei Vilo

    embedXcode

    Release 11.2.1 of embedXcode adds support for Xcode 11.1 on macOS 10.15 Catalina. Download
  25. Rei Vilo

    Bad CPU type in executable?

    New release Energia 22 throws this error on macOS 10.15 Catalina: Indeed, many Java related files seem to be missing. I'm waiting for the final release. In the meantime, I'm using Xcode with embedXcode.
  26. Rei Vilo

    Bad CPU type in executable?

    The two links provided in the thread [Bad CPU type in executable?](https://forum.43oh.com/topic/13554-bad-cpu-type-in-executable/?tab=comments#comment-82533) fail. http://s3.amazonaws.com/energiaUS/distributions/energia-1.8.10E22-macosx-signed.zip returns `AccessDeniedAccess Denied46C5585239622A0BtEYNB+M3ll6eUk8CpPRYP51lFaQ1EqejDms3Cn0z3W5Vz76rCFrkBl6jjaH5qv1x` http://s3.amazonaws.com/energiaUS/distributions/energia-1.8.10E22-macosx-signed.zip is polluted by `http<feff>://s3.amazonaws.com/energiaUS/distributions/energia<feff>-1.8.10E22-macosx<feff>-signed.zip<feff><feff><feff><feff><feff><feff>` and redirects to the Google page. However, download from http://s3.amazonaws.com/energiaUS/distributions/energia-1.8.10E22-macosx-signed.zip eventually succeeds.
  27. Would you mind opening a ticket at the msp432r-core repository for better tracking? Thank you!
  1. Load more activity
×