NEC.TIMING(1) General Commands Manual NEC.TIMING(1) NNAAMMEE nec.timing - change the NEC timing values in a file derived from the Arduino IRLib2 library, AnalysIR sketch SSYYNNOOPPSSIISS nec.timing [-v] [filename] DDEESSCCRRIIPPTTIIOONN Nec.timing.c is for changing the NEC timing values in a file derived from the Arduino IRLib2 library, AnalysIR sketch, to the industry "standard" timing values. The input file structure is a text file con‐ sisting of records of white space delimited timing values, in temporal order, with the '-' characters removed. The "standard" values are printed to stdout. The NEC remote protocol is based on a base timing value of 562.5 uS, and the timing values for a record are: 1) A Mark of 16 X 562.5 uS = 9 mS 2) A Space of 8 X 562.5 uS = 4.5 mS 3) Data Marks of 1 X 562.5 uS = 0.5625 mS 4) Data Spaces of 1 X 562.5 uS = 0.5625 mS 5) An EOR Space of 71 * 562.5 uS = 39.9375 mS between repeat codes The repeat code is: 1) A Mark of 16 X 562.5 uS = 9 mS 2) A Space of 4 X 562.5 uS = 2.25 mS 3) A Mark of 1 X 562.5 uS = 0.5625 mS This simplifies the changing of the NEC timing values derived from the IRLib2 library, AnalysIR sketch, which can be rounded to the closest 562.5 uS value. OOPPTTIIOONNSS --VV Verbose output. --vv Print the version and copyright banner of the program. ffiilleennaammee Input filename. WWAARRNNIINNGGSS There is little or no provision for handling numerical exceptions. SSEEEE AALLSSOO tsderivative(1), tshcalc(1), tshurst(1), tsintegrate(1), tslogre‐ turns(1), tslsq(1), tsnormal(1), tsshannon(1), tsblack(1), tsbrown‐ ian(1), tsdlogistic(1), tsfBm(1), tsfractional(1), tsgaussian(1), tsin‐ tegers(1), tslogistic(1), tspink(1), tsunfairfractional(1), tswhite(1), tscoin(1), tsunfairbrownian(1), tsfraction(1), tsshannonmax(1), tschangewager(1), tssample(1), tsrms(1), tscoins(1), tsavg(1), tsXsquared(1), tsstockwager(1), tsshannonwindow(1), tsmath(1), tsavg‐ window(1), tspole(1), tsdft(1), tsbinomial(1), tsdeterministic(1), tsnumber(1), tsrmswindow(1), tsshannonstock(1), tsmarket(1), tsstock(1), tsstatest(1), tsunfraction(1), tsshannonaggregate(1), tsin‐ stant(1), tsshannonvolume(1), tsstocks(1), tsshannonfundamental(1), tstrade(1), tstradesim(1), tsrunlength(1), tsunshannon(1), tsroot‐ mean(1), tsrunmagnitude(1), tskurtosis(1), tskurtosiswindow(1), tsroot‐ meanscale(1), tsscalederivative(1), tsgain(1), tsgainwindow(1) tscauchy(1), tslognormal(1), tskalman(1), tsroot(1), tslaplacian(1) DDIIAAGGNNOOSSTTIICCSS Error messages for incompatible arguments, failure to allocate memory, inaccessible files, and opening and closing files. AAUUTTHHOORRSS ---------------------------------------------------------------------- A license is hereby granted to reproduce this software source code and to create executable versions from this source code for personal, non-commercial use. The copyright notice included with the software must be maintained in all copies produced. THIS PROGRAM IS PROVIDED "AS IS". THE AUTHOR PROVIDES NO WARRANTIES WHATSOEVER, EXPRESSED OR IMPLIED, INCLUDING WARRANTIES OF MERCHANTABILITY, TITLE, OR FITNESS FOR ANY PARTICULAR PURPOSE. THE AUTHOR DOES NOT WARRANT THAT USE OF THIS PROGRAM DOES NOT INFRINGE THE INTELLECTUAL PROPERTY RIGHTS OF ANY THIRD PARTY IN ANY COUNTRY. Copyright (c) 1994-2018, John Conover, All Rights Reserved. Comments and/or bug reports should be addressed to: john@email.johncon.com (John Conover) ---------------------------------------------------------------------- January 17, 2018 NEC.TIMING(1)