• Not the right answer
    I do not see the right answer when i use this function. float comppoly(x) { float y1,y2; float a1=0.1,b1=0.3,a2=2.1,b2=5.3,c=0.22; y1=a1*x+b1; y2=a1*x^2+b2*x+c; return(y2>y1);}; ?can you...
  • Not the right answer
    I do not see the right answer when i use this function. float comppoly(x) { float y1,y2; float a1=0.1,b1=0.3,a2=2.1,b2=5.3,c=0.22; y1=a1*x+b1; y2=a1*x^2+b2*x+c; return(y2>y1);}; ?can you...
  • Is this right? (NVIC Interrupts)
    Hello everyone, i'm working on NVIC, i need enable the TIMER2 IRQ, but without CMSIS HAL, just native C code, so i have got this: #include "NVICDriver.h" #include <stdint.h> #include <string.h>...
  • generating right output for emulator
    Hi, I am starting my very first embedded microcontroller project and I need some assistance. I am a bit overwhelmed with all the options in the Keil IDE. I have a phillips P8xLPC76x emulator and...
  • Cortex M3 - Right Shift Bug
    Hi, I'm using uVision 3.33, supplied as part of the Luminary Micro design contest. I've noticed the following problem when trying to right-shift a 16-bit unsigned value. The code produced is...