Skip to main content

Topics

This section allows you to view all Topics made by this member. Note that you can only see Topics made in areas you currently have access to.

Topics - achandel

1
USB Infrared Toy / Compiling Rec/Play
How do we compile the IRToy.exe ?

..USBIRToy_SourcesoftwareIRToyRecPlay[this program]

In main.h , there is a sleep(2000) which I would like to remove.

#ifdef _WIN32
    Sleep(2000);    // windows: Sleep for 2000 milliseconds <----- would like to remove this
    #else
    sleep(2);    // linux: sleep for 2 secs
    #endif

    serial_close(fd);
    FREE(param_port);
    FREE(param_speed);
    FREE(param_fname);
    FREE(param_buffin);
    printf("n Thank you for playing with the IR Toy! Utility version: %s. n", IRTOY_VERSION);

    return 0;

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01122252440session_write_close ( )...(null):0
20.01152384040ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01152384816Database_MySQL->query( ).../DatabaseHandler.php:119
40.05552523552Database_MySQL->error( ).../Db-mysql.class.php:273