• fmod producing strange results
    Hello I am getting strange results for the fmod function in math.h. float f, g; for (f = 0.0; f < 4.0 * PI; f += (5.0 * PI / 180.0)) { g = fmod(f, (2.0 * PI)); printf("%f %f\r\n", f * 180.0...
  • fmod producing strange results
    Hello I am getting strange results for the fmod function in math.h. float f, g; for (f = 0.0; f < 4.0 * PI; f += (5.0 * PI / 180.0)) { g = fmod(f, (2.0 * PI)); printf("%f %f\r\n", f * 180.0...
  • negative monocrome interted
    Hi all! How can I write routine in negative mode (monocrome inverted) using an area of code? Who can help me? Are there special instructions in the new C book?
  • negative monocrome interted
    Hi all! How can I write routine in negative mode (monocrome inverted) using an area of code? Who can help me? Are there special instructions in the new C book?
  • Baud rate - negative value in TH?
    My question is that once we get the value of 28,800 after dividing the crystal frequency (11.0592Hz) by 12 and then by 32, why we divide the value 0f 28,800 by a negative 3 (-3 = FD in HEX) in TH register...