• tcp_send function acting weird
    Hello, I use TCPNet for my ethernet connection. I have a buffer wich I pass through via the function tcp_send, when I change the values of this buffer right after I called the function, then I receive...
  • tcp_send function acting weird
    Hello, I use TCPNet for my ethernet connection. I have a buffer wich I pass through via the function tcp_send, when I change the values of this buffer right after I called the function, then I receive...
  • Define act as function?
    I've been using defines as fucntions like this: sbit DRIVE_PIN05 = P1^3; #define DRIVE_PIN05_HIGH (P1MDOUT |= 0x08);(DRIVE_PIN05 = 0) #define DRIVE_PIN05_LOW (P1MDOUT |= 0x08);(DRIVE_PIN05 ...
  • Preprocessor #define acting strange.
    I have several pins relabeled using the #define directive in a header file called "gpio.h". Several files reference this file. In main.c I reference this file with the fallowing command: #include "gpio...
  • Define act as function?
    I've been using defines as fucntions like this: sbit DRIVE_PIN05 = P1^3; #define DRIVE_PIN05_HIGH (P1MDOUT |= 0x08);(DRIVE_PIN05 = 0) #define DRIVE_PIN05_LOW (P1MDOUT |= 0x08);(DRIVE_PIN05 ...