Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by cheese

  1. C

    [Help] Hitech C compiler build successful but the code doesn't work right

    @Tahmid. Thank you for your showing me how to use File Registers. But it still doesn't get right result. I'm using Window 7 Professional (MSDN AA) and Hitech C Lite 9.83.
  2. C

    [Help] Hitech C compiler build successful but the code doesn't work right

    This issue also happens with + (ADD) operator. gcan[position + j] = ((gcan[position + j]) << 1) | 0x01; gcan[position + j] = ((gcan[position + j]) << 1) + 0x01;
  3. C

    [Help] Hitech C compiler build successful but the code doesn't work right

    I'm using MPLAB 8.56 and Hitech C 9.71a for PIC16F887. I've tried with the newest version of HTC, 9.83 Lite. OR operator in Style 2 code still not working with the number 0x01.
  4. C

    [Help] Hitech C compiler build successful but the code doesn't work right

    This is my problem! I've tried setting optimization level to 1 (minimum level) in the compiler, but it still not working (tested with Lite and Pro ver). @arunsharma0731: yes, this OR operator works well with any number but 0x01. :x
  5. C

    [Help] Hitech C compiler build successful but the code doesn't work right

    Yes, code is right. 2 styles are the same meaning in C language. But when I use style 2 like this gcan[position + j] = ((gcan[position + j]) << 1) | 0x01; it works like this gcan[position + j] = ((gcan[position + j]) << 1); OR operator doesn't work!! :?: The Hitech C compiler ignore OR operator...
  6. C

    [Help] Hitech C compiler build successful but the code doesn't work right

    Hello, I wrote this code for PIC16F887 uC and use Hitech C to compile. There's no error or warning. But the code doesn't work in the right way when i use Style 2. Style 1 is OK. I don't know the reason. Anybody helps me to explain this problem plz! unsigned char gcan[5] =...

Part and Inventory Search

Back
Top