• IMPLICIT ERROR
    I am trying to write and read pin value from stm32 board, by using keil5 ARM , the problem i am facing is when i use pin8 in keil code it's showing some iplicit error. const char pinsend[]= {C8_Pin...
  • Bitfield
    Hello to everyone, i have this example: union { struct { unsigned char x:4; unsigned char y:4; } nibble; unsigned char abyte; } value; I'am not sure how to acces to the byte and the...
  • Implicit declaration is invalid warning for __set_BASEPRI() function in Keil
    I'm trying to use a __set_BASEPRI function in Keil to set up interrupts in STM32F407 but the IDE shows warning "implicit declaration of function '__set_BASEPRI' is invalid in C99". The code compiles without...
  • warning C108: '=': possible value truncation
    Hello, there might be an undetected overrun in the result of 'a * b'. So i used the cast ((unsigned long long int)a to force the result of 'a * b' to long long. Unfortunately this compiler warning...
  • float truncation
    hi everyone; i am using a float value for my calculation eg: weight = 999.99 (ideally) but float weight = 999.989999 (by float data type as we get 6 digits after decimal) i am not displaying this...