Skip to main content

Messages

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

Messages - achandel

1
USB Infrared Toy / Re: Compiling Rec/Play
Thanks, will do.

Also ignore the above, it's important to -a 500 because -a 0 causes issues and you have to unplug / replug.

irtoy.exe -d COM2 -h -p -q -a 500 -f filename


- filename contains a sequence of files without any params (bin file per line).
- also -h only works "glitch free" if you record short ir button presses.  If you make a long recording, with a long press, -h crashes.
2
USB Infrared Toy / Re: Compiling Rec/Play
Nevermind, I found the method to play a sequence queue without any handshakes which speeds things up perfectly.

irtoy.exe -d COM2 -h -p -q -a 0 -f filename
3
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.01252290944session_write_close ( )...(null):0
20.01282422544ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01282423320Database_MySQL->query( ).../DatabaseHandler.php:119
40.05652562064Database_MySQL->error( ).../Db-mysql.class.php:273