Search:

Type: Posts; User: phoenix23

Search: Search took 0.01 seconds.

  1. I realised before you sent this - thanks though!

    I realised before you sent this - thanks though!
  2. with curly brackets

    with curly brackets
  3. i did put it inside a function previously - it...

    i did put it inside a function previously - it was void PotToMouse (void) but this didn't seem to make a difference, that's why i left it out!

    This is what i had previously




    void...
  4. Syntax Error on Line

    I have inserted the code as follows and received a Syntax Error on the highlighted line - why is this?



    /** I N C L U D E S **********************************************************/
    #include...
  5. 8 Bit device

    How can there be a register that holds a 16bit value? The Microchip is 8 bits isn't it? All the registers work in 8 bits? although it does say that the A/D converter module is 10 bits in the...
  6. i found this site...

    i found this site http://www.codeproject.com/csharp/highperformancetimercshar.asp

    but am still unsure whether i need to add a header file to my project to gain access to the...
  7. Sending delta to the mouse pointer buffer

    Hi,

    I'm not sure that ReadPOT() returns a value! As you've said it basically starts the conversion and waits for completion, as shown in the code below:-



    void ReadPOT(void)
    {
    ...
  8. Which Microsoft Header should i use for Speed Tests

    i was using POSIX compliant calls such as 'timezone tz' and 'gettimeofday' which Microsoft claim to support, however i've had trouble compiling. If i wanted to use Microsoft Windows calls to do...
  9. ADRESL and ADRESH

    Thanks for the link - i've seen the site...
    The datasheet for this Microcihp does not explain how the Demo.c Firmware operates. However it does explain ADRESH and ADRESL which are high registers...
  10. ADRESH and ADRESL

    Regarding this section of code, There is no manual which describes this firmware... However this is what it does



    case RD_POT: // Comes from PC Software
    ReadPOT();
    ...
  11. Focused Question 1

    ok - Sure, sorry about the long code, it was just to make sure everything was there...

    There's this bit of code here:-



    void ReadPOT(void)
    {
    ADCON0bits.GO = 1; // Start AD...
  12. Converting a circulating mouse pointer to use a Potentionmeter

    I've bought a Development tool from Microchip which allows me to program my own USB interfaces. The Development board (PICDEM FS USB) from microchip has a potentiometer on board and comes with a...
  13. Where do functions with no input or output return variables?

    Hi i have this piece of code and was wondering where it returns the value?



    void ReadPOT(void)
    {
    ADCON0bits.GO = 1; // Start AD conversion
    while(ADCON0bits.NOT_DONE); ...
Results 1 to 13 of 13