ESP8266 part of the f105-motor-demo project (see f105-motor-demo_stm32)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

102 lines
26 KiB

<?php $page = 'waveform';
include "_start.php"; ?>
<h1>Waveform</h1>
<div class="Box">Blah blah blah</div>
<div class="Box medium">
<div id="chart" class="ct-chart ct-wide"></div>
</div>
<script>
var resp = {
"samples": [1878, 1883, 1887, 1897, 1906, 1915, 1926, 1940, 1955, 1970, 1982, 1996, 2012, 2026, 2038, 2049, 2058, 2068, 2076, 2082, 2091, 2097, 2102, 2102, 2108, 2114, 2124, 2134, 2143, 2149, 2156, 2158, 2161, 2165, 2173, 2183, 2186, 2189, 2194, 2195, 2196, 2191, 2183, 2177, 2169, 2157, 2147, 2135, 2122, 2111, 2093, 2078, 2065, 2052, 2036, 2022, 2012, 2006, 1999, 1988, 1980, 1973, 1970, 1966, 1959, 1953, 1946, 1940, 1928, 1915, 1907, 1899, 1892, 1885, 1879, 1876, 1875, 1873, 1870, 1870, 1873, 1877, 1883, 1888, 1898, 1904, 1914, 1922, 1934, 1949, 1963, 1974, 1989, 2005, 2019, 2032, 2043, 2055, 2067, 2075, 2082, 2089, 2097, 2104, 2106, 2110, 2115, 2124, 2131, 2139, 2149, 2158, 2163, 2164, 2165, 2173, 2183, 2188, 2192, 2196, 2201, 2203, 2200, 2195, 2189, 2185, 2176, 2166, 2154, 2143, 2129, 2116, 2100, 2085, 2071, 2057, 2041, 2028, 2017, 2009, 1999, 1988, 1980, 1976, 1971, 1964, 1961, 1956, 1949, 1941, 1928, 1917, 1908, 1900, 1891, 1885, 1882, 1879, 1876, 1873, 1873, 1872, 1874, 1879, 1884, 1892, 1899, 1905, 1913, 1924, 1937, 1950, 1961, 1975, 1991, 2007, 2020, 2033, 2045, 2059, 2069, 2075, 2083, 2093, 2100, 2104, 2106, 2112, 2117, 2124, 2131, 2141, 2152, 2161, 2164, 2164, 2168, 2176, 2184, 2189, 2193, 2200, 2205, 2203, 2200, 2196, 2193, 2185, 2176, 2166, 2156, 2145, 2130, 2115, 2100, 2088, 2072, 2057, 2042, 2029, 2019, 2008, 1998, 1989, 1984, 1977, 1969, 1966, 1962, 1956, 1950, 1941, 1930, 1919, 1907, 1899, 1891, 1888, 1882, 1879, 1876, 1875, 1874, 1874, 1875, 1878, 1886, 1893, 1899, 1905, 1916, 1928, 1938, 1951, 1963, 1978, 1994, 2007, 2022, 2035, 2050, 2059, 2067, 2075, 2085, 2095, 2099, 2103, 2108, 2115, 2119, 2125, 2131, 2144, 2154, 2160, 2164, 2166, 2170, 2177, 2184, 2189, 2195, 2201, 2204, 2204, 2202, 2198, 2193, 2185, 2176, 2167, 2157, 2144, 2130, 2116, 2103, 2086, 2071, 2056, 2043, 2030, 2019, 2007, 1999, 1991, 1983, 1976, 1970, 1967, 1962, 1956, 1948, 1942, 1931, 1919, 1908, 1899, 1893, 1889, 1883, 1878, 1877, 1876, 1875, 1873, 1874, 1881, 1887, 1893, 1900, 1907, 1918, 1927, 1937, 1950, 1965, 1979, 1993, 2006, 2022, 2038, 2050, 2061, 2068, 2077, 2087, 2094, 2100, 2106, 2110, 2114, 2119, 2125, 2134, 2145, 2154, 2160, 2164, 2167, 2170, 2177, 2183, 2191, 2196, 2202, 2203, 2205, 2203, 2200, 2192, 2185, 2176, 2169, 2156, 2143, 2129, 2118, 2103, 2086, 2072, 2058, 2043, 2030, 2017, 2007, 2001, 1992, 1983, 1975, 1971, 1968, 1962, 1955, 1948, 1943, 1930, 1917, 1907, 1900, 1893, 1888, 1882, 1879, 1878, 1875, 1872, 1872, 1876, 1881, 1886, 1891, 1899, 1909, 1917, 1926, 1938, 1952, 1967, 1979, 1992, 2008, 2022, 2037, 2050, 2060, 2070, 2077, 2086, 2091, 2100, 2106, 2110, 2112, 2117, 2125, 2134, 2144, 2151, 2160, 2166, 2167, 2169, 2176, 2184, 2192, 2195, 2199, 2203, 2205, 2202, 2197, 2191, 2184, 2178, 2167, 2155, 2143, 2131, 2116, 2099, 2084, 2070, 2058, 2041, 2027, 2015, 2008, 1999, 1989, 1981, 1975, 1971, 1965, 1959, 1954, 1950, 1940, 1927, 1915, 1907, 1898, 1891, 1883, 1882, 1879, 1876, 1874, 1872, 1872, 1876, 1879, 1885, 1892, 1899, 1908, 1916, 1925, 1938, 1951, 1964, 1977, 1993, 2009, 2023, 2034, 2046, 2059, 2069, 2076, 2084, 2092, 2100, 2105, 2108, 2110, 2118, 2125, 2131, 2142, 2150, 2160, 2164, 2164, 2167, 2176, 2184, 2190, 2193, 2200, 2203, 2203, 2201, 2195, 2190, 2185, 2175, 2163, 2153, 2142, 2127, 2112, 2098, 2083, 2070, 2053, 2038, 2028, 2018, 2006, 1995, 1988, 1980, 1973, 1968, 1963, 1958, 1954, 1947, 1937, 1925, 1915, 1905, 1896, 1888, 1885, 1880, 1878, 1874, 1871, 1871, 1872, 1874, 1877, 1883, 1890, 1898, 1904, 1913, 1925, 1937, 1951, 1962, 1976, 1994, 2007, 2019, 2031, 2046, 2058, 2067, 2074, 2083, 2091, 2098, 2102, 2105, 2111, 2117, 2123, 2129, 2140, 2152, 2159, 2159, 2161, 2167, 2175, 2182, 2187, 2192, 2199, 2200, 2200, 2197, 2195, 2189, 2181, 2170, 2162, 2151, 2140, 2125, 2110, 2096, 2083, 2066, 2050, 2037, 2026, 2015, 2003, 1993, 1986, 1979, 1970, 1965, 1962, 1958, 1952, 1943, 1935, 1924, 1913, 1903, 1895, 1886, 1883, 1879, 1874, 1872, 1871, 1870, 1870, 1871, 1877, 1883, 1889, 1895, 1903, 1914, 1924, 1936, 1950, 1962, 1978, 1991, 2006, 2019, 2033, 2046, 2056, 2065, 2074, 2082, 2091, 2095, 2101, 2107, 2111, 2115, 2122, 2130, 2141, 2150, 2156, 2158, 2163, 2166, 2172, 2179, 2187, 2192, 2196, 2199, 2198, 2199, 2193, 2185, 2179, 2171, 2162, 2151, 2137, 2122, 2108, 2096, 2081, 2064, 2049, 2038, 2026, 2011, 2002, 1993, 1986, 1976, 1970, 1965, 1963, 1956, 1948, 1942, 1935, 1923, 1911, 1900, 1893, 1888, 1881, 1878, 1872, 1872, 1872, 1869, 1867, 1870, 1876, 1882, 1886, 1895, 1904, 1914, 1924, 1934, 1948, 1963, 1977, 1991, 2005, 2018, 2033, 2044, 2054, 2065, 2075, 2083, 2089, 2095, 2101, 2106, 2109, 2115, 2122, 2131, 2141, 2148, 2155, 2160, 2163, 2166, 2171, 2179, 2187, 2192, 2196, 2198, 2200, 2198, 2192, 2185, 2177, 2171, 2161, 2149, 2138, 2123, 2110, 2094, 2077, 2062, 2050, 2037, 2023, 2011, 2000, 1994, 1985, 1976, 1971, 1966, 1963, 1957, 1950, 1944, 1936, 1924, 1911, 1901, 1894, 1887, 1881, 1876, 1875, 1872, 1871, 1867, 1867, 1873, 1878, 1882, 1887, 1896, 1906, 1912, 1922, 1935, 1951, 1963, 1976, 1991, 2007, 2021, 2034, 2044, 2055, 2067, 2073, 2081, 2088, 2097, 2102, 2105, 2109, 2114, 2122, 2131, 2140, 2150, 2158, 2160, 2163, 2166, 2173, 2182, 2187, 2191, 2195, 2201, 2201, 2197, 2191, 2186, 2179, 2172, 2160, 2149, 2138, 2123, 2110, 2094, 2080, 2066, 2052, 2035, 2022, 2012, 2003, 1994, 1984, 1976, 1971, 1968, 1962, 1957, 1952, 1946, 1937, 1922, 1912, 1904, 1896, 1888, 1883, 1879, 1877, 1874, 1870, 1870, 1870, 1874, 1877, 1883, 1891, 1899, 1906, 1914, 1925, 1939, 1951, 1964, 1976, 1994, 2008, 2022, 2035, 2046, 2060, 2069, 2076, 2083, 2092, 2099, 2103, 2107, 2112, 2119, 2125, 2132, 2141, 2152, 2160, 2162, 2163, 2167, 2175, 2182, 2187, 2193, 2199, 2202, 2201, 2198, 2194, 2190, 2182, 2172, 2162, 2152, 2140, 2126, 2110, 2096, 2083, 2067, 2052, 2036, 2027, 2015, 2003, 1995, 1987, 1980, 1974, 1967, 1962, 1959, 1953, 1946, 1936, 1925, 1915, 1904, 1896, 1889, 1884, 1882, 1878, 1874, 1873, 1872, 1873, 1876, 1877, 1886, 1893, 1900, 1907, 1917, 1927, 1940, 1953, 1964, 1980, 1997, 2011, 2024, 2037, 2051, 2061, 2069, 2077, 2086, 2096, 2101, 2103, 2108, 2114, 2120, 2125, 2133, 2144, 2154, 2162, 2163, 2166, 2171, 2178, 2184, 2190, 2197, 2202, 2203, 2203, 2200, 2196, 2191, 2182, 2174, 2164, 2153, 2139, 2124, 2112, 2100, 2084, 2066, 2052, 2039, 2028, 2016, 2005, 1997, 1990, 1980, 1974, 1969, 1965, 1961, 1954, 1947, 1938, 1928, 1916, 1906, 1898, 1890, 1887, 1882, 1879, 1877, 1875, 1875, 1875, 1875, 1882, 1888, 1894, 1901, 1909, 1920, 1931, 1941, 1954, 1971, 1985, 1999, 2011, 2027, 2039, 2051, 2061, 2071, 2080, 2088, 2094, 2100, 2106, 2111, 2117, 2123, 2126, 2137, 2148, 2156, 2161, 2164, 2168, 2173, 2177, 2185, 2191, 2199, 2202, 2205, 2205, 2202, 2198, 2190, 2182, 2176, 2166, 2153, 2139, 2126, 2114, 2099, 2082, 2067, 2056, 2042, 2028, 2014, 2005, 1998, 1989, 1981, 1975, 1971, 1967, 1961, 1953, 1947, 1939, 1928, 1915, 1906, 1899, 1893, 1887, 1882, 1879, 1877, 1875, 1873, 1874, 1876, 1883, 1888, 1893, 1902, 1912, 1922, 1931, 1942, 1956, 1971, 1983, 1998, 2012, 2028, 2041, 2052, 2062, 2072, 2081, 2088, 2097, 2103, 2109, 2112, 2115, 2121, 2128, 2137, 2146, 2154, 2162, 2166, 2169, 2171, 2178, 2186, 2194, 2198, 2201, 2205, 2206, 2202, 2196, 2190, 2183, 2175, 2165, 2153, 2140, 2127, 2113, 2097, 2082, 2067, 2056, 2041, 2027, 2015, 2007, 1998, 1988, 1979, 1975, 1970, 1966, 1960, 1954, 1948, 1940, 1926, 1914, 1907, 1900, 1892, 1885, 1882, 1881, 1877, 1873, 1873, 1875, 1878, 1883, 1888, 1895, 1903, 1911, 1918, 1930, 1945, 1957, 1970, 1983, 1997, 2014, 2027, 2037, 2051, 2064, 2074, 2079, 2086, 2096, 2103, 2106, 2110, 2114, 2122, 2129, 2136, 2146, 2155, 2162, 2164, 2166, 2169, 2179, 2187, 2192, 2196, 2201, 2206, 2205, 2200, 2195, 2190, 2184, 2173, 2161, 2150, 2139, 2127, 2110, 2094, 2081, 2067, 2052, 2036, 2025, 2017, 2005, 1995, 1987, 1981, 1974, 1968, 1964, 1959, 1955, 1947, 1935, 1924, 1913, 1906, 1898, 1890, 1886, 1882, 1878, 1874, 1873, 1872, 1875, 1876, 1879, 1886, 1896, 1902, 1908, 1918, 1930, 1943, 1957, 1968, 1983, 1999, 2013, 2025, 2037, 2052, 2064, 2071, 2078, 2086, 2095, 2101, 2103, 2109, 2115, 2120, 2127, 2133, 2144, 2155, 2161, 2163, 2164, 2171, 2179, 2185, 2190, 2195, 2200, 2204, 2202, 2199, 2195, 2189, 2180, 2171, 2160, 2151, 2137, 2122, 2108, 2095, 2080, 2064, 2049, 2034, 2023, 2012, 2003, 1994, 1987, 1980, 1972, 1966, 1963, 1959, 1952, 1943, 1934, 1923, 1913, 1902, 1894, 1889, 1885, 1879, 1876, 1873, 1873, 1872, 1872, 1873, 1879, 1887, 1893, 1899, 1907, 1917, 1930, 1940, 1953, 1967, 1981, 1996, 2010, 2024, 2038, 2051, 2061, 2068, 2076, 2086, 2095, 2099, 2102, 2107, 2114, 2117, 2124, 2133, 2145, 2154, 2159, 2162, 2164, 2171, 2176, 2183, 2189, 2195, 2199, 2200, 2200, 2198, 2193, 2186, 2178, 2169, 2162, 2149, 2135, 2119, 2108, 2094, 2077, 2061, 2047, 2034, 2022, 2010, 2000, 1993, 1985, 1976, 1970, 1966, 1962, 1958, 1950, 1942, 1934, 1922, 1911, 1899, 1893, 1887, 1883, 1877, 1874, 1872, 1871, 1868, 1870, 1873, 1880, 1885, 1889, 1898, 1907, 1918, 1928, 1938, 1951, 1967, 1981, 1995, 2009, 2024, 2037, 2049, 2057, 2068, 2077, 2086, 2092, 2097, 2103, 2107, 2112, 2116, 2123, 2134, 2144, 2152, 2157, 2161, 2164, 2168, 2174, 2181, 2189, 2194, 2197, 2200, 2200, 2198, 2191, 2184, 2177, 2170, 2159, 2146, 2132, 2119, 2106, 2091, 2074, 2061, 2047, 2033, 2020, 2008, 2000, 1992, 1982, 1974, 1969, 1966, 1962, 1954, 1947, 1942, 1933, 1920, 1907, 1900, 1893, 1887, 1879, 1875, 1875, 1872, 1869, 1867, 1869, 1872, 1878, 1883, 1890, 1899, 1907, 1916, 1926, 1938, 1953, 1966, 1979, 1993, 2009, 2024, 2037, 2046, 2059, 2068, 2077, 2084, 2091, 2098, 2104, 2107, 2110, 2115, 2124, 2134, 2143, 2151, 2158, 2162, 2163, 2167, 2175, 2183, 2188, 2192, 2197, 2201, 2199, 2195, 2189, 2184, 2177, 2169, 2157, 2144, 2134, 2121, 2105, 2090, 2075, 2063, 2047, 2030, 2018, 2010, 2001, 1991, 1982, 1975, 1971, 1965, 1959, 1955, 1948, 1942, 1932, 1919, 1908, 1901, 1893, 1885, 1880, 1878, 1875, 1872, 1868, 1868, 1871, 1873, 1877, 1883, 1892, 1899, 1907, 1915, 1926, 1940, 1954, 1966, 1980, 1996, 2012, 2024, 2036, 2048, 2062, 2069, 2076, 2085, 2093, 2099, 2104, 2106, 2112, 2118, 2125, 2133, 2144, 2153, 2159, 2162, 2163, 2168, 2176, 2183, 2188, 2192, 2198, 2201, 2200, 2195, 2191, 2185, 2178, 2168, 2157, 2147, 2134, 2118, 2105, 2091, 2077, 2061, 2046, 2031, 2020, 2012, 2000, 1991, 1982, 1977, 1969, 1964, 1960, 1956, 1951, 1942, 1932, 1920, 1911, 1902, 1892, 1884, 1881, 1879, 1875, 1870, 1870, 1871, 1871, 1874, 1878, 1886, 1893, 1900, 1907, 1918, 1929, 1943, 1954, 1966, 1982, 1998, 2011, 2025, 2039, 2052, 2062, 2070, 2077, 2086, 2096, 2100, 2103, 2108, 2113, 2118, 2126, 2133, 2145, 2155, 2159, 2162, 2164, 2171, 2179, 2184, 2190, 2197, 2201, 2201, 2200, 2198, 2194, 2186, 2179, 2169, 2159, 2148, 2135, 2121, 2106, 2092, 2078, 2061, 2045, 2033, 2022, 2011, 2000, 1993, 1985, 1979, 1970, 1965, 1962, 1958, 1951, 1942, 1933, 1922, 1912, 1901, 1893, 1888, 1885, 1879, 1875, 1874, 1874, 1873, 1873, 1875, 1881, 1889, 1894, 1901, 1908, 1921, 1930, 1943, 1956, 1970, 1986, 2000, 2012, 2027, 2041, 2054, 2063, 2072, 2081, 2088, 2095, 2101, 2104, 2111, 2116, 2119, 2126, 2137, 2148, 2156, 2161, 2164, 2167, 2171, 2178, 2184, 2192, 2197, 2200, 2202, 2202, 2199, 2195, 2187, 2179, 2171, 2162, 2150, 2135, 2121, 2107, 2094, 2076, 2062, 2049, 2035, 2022, 2011, 2002, 1997, 1987, 1978, 1971, 1968, 1964, 1958, 1952, 1943, 1935, 1923, 1911, 1901, 1895, 1890, 1885, 1880, 1877, 1875, 1873, 1871, 1873, 1877, 1883, 1889, 1894, 1903, 1912, 1921, 1931, 1944, 1959, 1972, 1987, 1999, 2013, 2029, 2044, 2053, 2065, 2074, 2082, 2089, 2096, 2104, 2108, 2113, 2115, 2121, 2128, 2139, 2147, 2155, 2162, 2167, 2168, 2171, 2178, 2188, 2194, 2199, 2203, 2203, 2204, 2200, 2194, 2187, 2181, 2173, 2161, 2148, 2135, 2123, 2108, 2093, 2078, 2065, 2050, 2034, 2021, 2011, 2003, 1996, 1986, 1978, 1972, 1970, 1963, 1957, 1952, 1947, 1936, 1923, 1911, 1902, 1895, 1889, 1885, 1881, 1879, 1876, 1873, 1872, 1875, 1880, 1884, 1889, 1895, 1904, 1913, 1920, 1931, 1945, 1959, 1971, 1985, 2001, 2018, 2032, 2043, 2055, 2067, 2075, 2082, 2088, 2096, 2104, 2107, 2111, 2116, 2122, 2131, 2138, 2147, 2158, 2163, 2167, 2167, 2172, 2180, 2188, 2192, 2198, 2203, 2206, 2204, 2199, 2193, 2188, 2182, 2172, 2161, 2150, 2137, 2122, 2107, 2092, 2078, 2065, 2050, 2034, 2022, 2012, 2003, 1994, 1985, 1979, 1975, 1969, 1963, 1959, 1952, 1946, 1934, 1923, 1912, 1904, 1895, 1889, 1885, 1882, 1879, 1875, 1874, 1874, 1876, 1878, 1882, 1888, 1897, 1905, 1912, 1921, 1935, 1947, 1958, 1971, 1987, 2003, 2017, 2030, 2042, 2055, 2067, 2073, 2081, 2091, 2099, 2103, 2107, 2111, 2117, 2123, 2130, 2139, 2149, 2159, 2164, 2165, 2167, 2173, 2182, 2188, 2192, 2197, 2203, 2204, 2202, 2198, 2195, 2188, 2180, 2170, 2160, 2149, 2136, 2120, 2106, 2092, 2078, 2061, 2046, 2034, 2024, 2012, 2002, 1994, 1986, 1980, 1972, 1967, 1962, 1959, 1952, 1943, 1933, 1922, 1913, 1901, 1893, 1888, 1885, 1880, 1876, 1874, 1873, 1872, 1874, 1877, 1881, 1889, 1896, 1903, 1910, 1922, 1935, 1946, 1958, 1972, 1988, 2002, 2015, 2028, 2043, 2055, 2065, 2072, 2082, 2089, 2098, 2103, 2104, 2110, 2117, 2122, 2127, 2138, 2151, 2157, 2160, 2163, 2168, 2174, 2179, 2186, 2192, 2198, 2202, 2202, 2200, 2197, 2193, 2186, 2177, 2168, 2160, 2147, 2133, 2118, 2106, 2092, 2075, 2059, 2045, 2034, 2021, 2009, 1999, 1993, 1984, 1977, 1969, 1965, 1963, 1957, 1949, 1942, 1932, 1923, 1910, 1899, 1893, 1888, 1883, 1878, 1874, 1874, 1872, 1871, 1871, 1876, 1882, 1888, 1893, 1902, 1911, 1923, 1932, 1943, 1957, 1972, 1987, 2001, 2013, 2029, 2042, 2052, 2063, 2072, 2081, 2089, 2096, 2100, 2106, 2110, 2114, 2119, 2127, 2138, 2148, 2155, 2159, 2162, 2166, 2171, 2177, 2185, 2193, 2196, 2199, 2201, 2201, 2198, 2192, 2183, 2176, 2169, 2158, 2145, 2130, 2118, 2104, 2088, 2072, 2057, 2045, 2031, 2018, 2007, 1999, 1992, 1983, 1974, 1969, 1966, 1961, 1955, 1947, 1940, 1931, 1919, 1907, 1898, 1893, 1887, 1881, 1876, 1875, 1874, 1870, 1868, 1870, 1876, 1881, 1886, 1892, 1901, 1911, 1920, 1930, 1943, 1958, 1971, 1983, 1999, 2014, 2028, 2041, 2051, 2062, 2073, 2081, 2087, 2093, 2101, 2104, 2109, 2113, 2120, 2128, 2137, 2147, 2153, 2160, 2163, 2164, 2170, 2178, 2186, 2191, 2194, 2198, 2201, 2201, 2195, 2190, 2184, 2176, 2167, 2158, 2143, 2131, 2116, 2103, 2086, 2071, 2058, 2043, 2029, 2016, 2006, 1998, 1989, 1980, 1974, 1969, 1964, 1958, 1952, 1947, 1942, 1928, 1917, 1905, 1898, 1891, 1884, 1879, 1876, 1875, 1871, 1869, 1869, 1872, 1875, 1879, 1885, 1893, 1902, 1910, 1918, 1930, 1944, 1958, 1970, 1983, 1999, 2014, 2027, 2039, 2053, 2064, 2072, 2078, 2086, 2095, 2101, 2104, 2107, 2113, 2120, 2127, 2135, 2146, 2155, 2160, 2161, 2163, 2169, 2178, 2186, 2191, 2193, 2199, 2202, 2199, 2194, 2189, 2184, 2176, 2166, 2155, 2142, 2130, 2116, 2100, 2085, 2072, 2058, 2041, 2027, 2017, 2008, 1998, 1988, 1981, 1974, 1969, 1963, 1958, 1953, 1948, 1939, 1929, 1917, 1907, 1898, 1891, 1883, 1880, 1878, 1874, 1871, 1870, 1871, 1872, 1872, 1879, 1887, 1895, 1901, 1908, 1919, 1930, 1943, 1957, 1970, 1986, 2001, 2014, 2028, 2041, 2054, 2063, 2071, 2078, 2088, 2096, 2101, 2103, 2108, 2114, 2122, 2126, 2137, 2147, 2156, 2159, 2161, 2165, 2171, 2179, 2183, 2189, 2195, 2202, 2202, 2199, 2195, 2192, 2185, 2175, 2164, 2155, 2142, 2129, 2113, 2101, 2087, 2073, 2058, 2042, 2030, 2018, 2006, 1996, 1988, 1982, 1975, 1967, 1964, 1960, 1956, 1948, 1939, 1929, 1919, 1907, 1898, 1889, 1884, 1881, 1876, 1874, 1872, 1871, 1872, 1871, 1875, 1881, 1890, 1893, 1901, 1911, 1921, 1934, 1945, 1959, 1973, 1989, 2003, 2015, 2028, 2042, 2056, 2064, 2071, 2081, 2089, 2097, 2100, 2106, 2112, 2116, 2120, 2127, 2139, 2149, 2156, 2159, 2162, 2165, 2172, 2179, 2186, 2192, 2198, 2201, 2200, 2200, 2197, 2192, 2183, 2176, 2166, 2157, 2143, 2129, 2117, 2104, 2089, 2071, 2056, 2043, 2029, 2017, 2007, 1997, 1991, 1983, 1975, 1967, 1965, 1962, 1955, 1947, 1940, 1931, 1920, 1907, 1899, 1893, 1888, 1883, 1878, 1875, 1875, 1873, 1871, 1873, 1876, 1884, 1889, 1895, 1902, 1913, 1923, 1933, 1945, 1960, 1975, 1988, 2002, 2016, 2032, 2046, 2056, 2065, 2073, 2083, 2090, 2097, 2103, 2108, 2112, 2115, 2122, 2131, 2140, 2150, 2156, 2163, 2165, 2168, 2173, 2179, 2187, 2194, 2198, 2200, 2202, 2203, 2199, 2192, 2184, 2178, 2169, 2158, 2144, 2131, 2118, 2104, 2087, 2073, 2058, 2043, 2030, 2018, 2007, 2000, 1992, 1983, 1975, 1970, 1967, 1961, 1955, 1949, 1943, 1932, 1919, 1908, 1900, 1894, 1887, 1881, 1879, 1878, 1876, 1872, 1871, 1874, 1879, 1883, 1888, 1898, 1906, 1915, 1923, 1934, 1948, 1962, 1975, 1989, 2004, 2020, 2034, 2045, 2056, 2067, 2076, 2083, 2091, 2098, 2104, 2108, 2111, 2116, 2124, 2131, 2141, 2149, 2159, 2164, 2167, 2167, 2174, 2183, 2189, 2194, 2197, 2202, 2205, 2204, 2199, 2192, 2187, 2178, 2170, 2156, 2144, 2134, 2119, 2104, 2088, 2075, 2060, 2043, 2029, 2019, 2010, 2001, 1992, 1985, 1977, 1973, 1967, 1962, 1956, 1952, 1944, 1931, 1918, 1909, 1902, 1894, 1887, 1883, 1881, 1878, 1875, 1874, 1873, 1876, 1880, 1883, 1891, 1899, 1907, 1915, 1924, 1937, 1950, 1964, 1975, 1991, 2007, 2021, 2034, 2047, 2057, 2069, 2075, 2083, 2093, 2101, 2106, 2109, 2112, 2119, 2125, 2131, 2141, 2152, 2161, 2165, 2166, 2168, 2176, 2185, 2189, 2194, 2199, 2205, 2206, 2202, 2198, 2192, 2187, 2178, 2168, 2158, 2147, 2133, 2117, 2103, 2089, 2075, 2059, 2043, 2031, 2020, 2012, 2001, 1992, 1985, 1978, 1972, 1967, 1962, 1957, 1952, 1942, 1931, 1920, 1911, 1901, 1893, 1887, 1885, 1882, 1876, 1875, 1875, 1874, 1875, 1877, 1885, 1893, 1900, 1906, 1913, 1926, 1938, 1951, 1962, 1977, 1993, 2009, 2020, 2034, 2047, 2060, 2069, 2075, 2084, 2095, 2101, 2104, 2107, 2114, 2119, 2124, 2131, 2142, 2154, 2160, 2163, 2165, 2169, 2177, 2184, 2188, 2195, 2201, 2203, 2204, 2201, 2201, 2194, 2187, 2176, 2168, 2158, 2145, 2131, 2117, 2103, 2089, 2074, 2058, 2043, 2031, 2019, 2008, 1999, 1992, 1986, 1977, 1970, 1967, 1963, 1957, 1950, 1941, 1930, 1919, 1908, 1899, 1891, 1888, 1884, 1879, 1875, 1876, 1875, 1873, 1874, 1879, 1886, 1892, 1897, 1904, 1915, 1927, 1937, 1949, 1962, 1978, 1992, 2005, 2019, 2034, 2046, 2058, 2066, 2076, 2086, 2092, 2099, 2103, 2108, 2112, 2117, 2122, 2131, 2142, 2152, 2158, 2162, 2166, 2169, 2175, 2181, 2187, 2195, 2200, 2202, 2203, 2202, 2198, 2192, 2184, 2176, 2168, 2157, 2143, 2130, 2117, 2104, 2088, 2070, 2058, 2043, 2029, 2018, 2006, 1999, 1991, 1982, 1975, 1969, 1967, 1961, 1954, 1947, 1942, 1930, 1917, 1907, 1898, 1892, 1888, 1880, 1877, 1876, 1875, 1872, 1870, 1874, 1879, 1884, 1890, 1896, 1906, 1915, 1923, 1934, 1949, 1962, 1976, 1990, 2004, 2021, 2034, 2045, 2055, 2066, 2076, 2084, 2090, 2097, 2104, 2107, 2110, 2115, 2123, 2131, 2141, 2150, 2158, 2162, 2164, 2167, 2172, 2181, 2187, 2193, 2197, 2201, 2202, 2202, 2196, 2189, 2183, 2176, 2166, 2154, 2142, 2128, 2116, 2099, 2083, 2069, 2056, 2041, 2027, 2015, 2006, 1997, 1990, 1980, 1973, 1970, 1965, 1958, 1951, 1947, 1939, 1926, 1914, 1904, 1897, 1890, 1885, 1879, 1877, 1874, 1872, 1868, 1869, 1874, 1877, 1881, 1888, 1896, 1905, 1913, 1923, 1934, 1948, 1961, 1975, 1988, 2005, 2020, 2031, 2042, 2053, 2066, 2074, 2082, 2089, 2097, 2103, 2106, 2108, 2113, 2123, 2129, 2139, 2147, 2157, 2161, 2163, 2165, 2171, 2181, 2187, 2190, 2194, 2199, 2200, 2199, 2192, 2187, 2183, 2174, 2163, 2152, 2140, 2128, 2113, 2096, 2082, 2068, 2053, 2037, 2026, 2015, 2006, 1997, 1988, 1980, 1973, 1967, 1961, 1956, 1952, 1946, 1935, 1925, 1915, 1905, 1897, 1888, 1883, 1879, 1876, 1872, 1870, 1868, 1869, 1873, 1875, 1880, 1888, 1896, 1904, 1912, 1923, 1934, 1948, 1959, 1973, 1990, 2005, 2018, 2030, 2043, 2056, 2066, 2073, 2080, 2089, 2097, 2101, 2103, 2108, 2116, 2121, 2128, 2137, 2149, 2156, 2158, 2159, 2164, 2173, 2179, 2185, 2190, 2196, 2201, 2200, 2198, 2193, 2189, 2182, 2171, 2160, 2152, 2138, 2125, 2111, 2096, 2085, 2068, 2053, 2038, 2025, 2015, 2002, 1992, 1984, 1977, 1972, 1965, 1961, 1958, 1953, 1947, 1935, 1926, 1913, 1904, 1892, 1886, 1883, 1879, 1874, 1873, 1870, 1871, 1870, 1870, 1873, 1880, 1888, 1894, 1901, 1911, 1922, 1936, 1948, 1962, 1975, 1991, 2005, 2016, 2031, 2043, 2054, 2064, 2072, 2081, 2090, 2096, 2101, 2105, 2110, 2115, 2120, 2126, 2138, 2149, 2155, 2159, 2163, 2167, 2174, 2180, 2185, 2192, 2196, 2199, 2199, 2198, 2194, 2188, 2180, 2172, 2163, 2153, 2140, 2124, 2111, 2097, 2082, 2066, 2052, 2037, 2025, 2015, 2003, 1995, 1987, 1979, 1971, 1966, 1962, 1958, 1952, 1944, 1936, 1926, 1915, 1903, 1895, 1890, 1886, 1879, 1874, 1874, 1872, 1871, 1869, 1870, 1875, 1883, 1889, 1895, 1904, 1915, 1924, 1936, 1948, 1961, 1977, 1990, 2004, 2018, 2035, 2045, 2056, 2066, 2075, 2083, 2090, 2097, 2101, 2106, 2110, 2116, 2121, 2129, 2141, 2151, 2156, 2160, 2164, 2168, 2172, 2179, 2187, 2193, 2197, 2200, 2200, 2200, 2195, 2188, 2180, 2173, 2164, 2152, 2138, 2127, 2114, 2099, 2082, 2066, 2053, 2039, 2025, 2014, 2004, 1997, 1990, 1979, 1973, 1968, 1965, 1959, 1952, 1946, 1938, 1927, 1913, 1904, 1896, 1891, 1885, 1879, 1878, 1875, 1874, 1870, 1869, 1874, 1878, 1883, 1890, 1898, 1907, 1915, 1924, 1936, 1950, 1965, 1978, 1992, 2005, 2022, 2035, 2047, 2057, 2068, 2077, 2084, 2091, 2098, 2105, 2107, 2110, 2116, 2124, 2133, 2142, 2151, 2159, 2164, 2166, 2167, 2174, 2183, 2190, 2194, 2198, 2202, 2203, 2201, 2195, 2188, 2183, 2174, 2163, 2152, 2140, 2129, 2114, 2098, 2082, 2069, 2054, 2040, 2025, 2015, 2006, 1998, 1990, 1979, 1974, 1970, 1966, 1960, 1954, 1949, 1939, 1926, 1914, 1907, 1899, 1892, 1885, 1879, 1878, 1878, 1874, 1872, 1872, 1875, 1880, 1884, 1891, 1900, 1908, 1915, 1927, 1939, 1951, 1965, 1978, 1995, 2011, 2025, 2037, 2048, 2061, 2070, 2078, 2084, 2093, 2101, 2106, 2108, 2113, 2120, 2128, 2134, 2143, 2153, 2160, 2165, 2165, 2169, 2178, 2186, 2191, 2195, 2200, 2206, 2205, 2200, 2195, 2190, 2185, 2176, 2165, 2155, 2144, 2130, 2114, 2100, 2084, 2070, 2054, 2039, 2027, 2017, 2008, 1999, 1989, 1983, 1976, 1970, 1965, 1961, 1955, 1947, 1939, 1927, 1918, 1907, 1900, 1892, 1887, 1883, 1880, 1876, 1872, 1873, 1873, 1875, 1879, 1885, 1894, 1903, 1908, 1917, 1929, 1941, 1952, 1964, 1979, 1996, 2011, 2024, 2037, 2052, 2063, 2072, 2078, 2086, 2095, 2102, 2104, 2108, 2114, 2121, 2126, 2132, 2144, 2157, 2162, 2165, 2167, 2171, 2178, 2183, 2191, 2196, 2200, 2205, 2202, 2201, 2197, 2192, 2185, 2176, 2167, 2156, 2143, 2128, 2112, 2102, 2083, 2071, 2054, 2041, 2029, 2018, 2008, 1997, 1992, 1984, 1976, 1970, 1966, 1962, 1955, 1947, 1939, 1928, 1918, 1908, 1899, 1893, 1889, 1884, 1879, 1876, 1875, 1875, 1874, 1875, 1882, 1889, 1896, 1903, 1908, 1919, 1930, 1940, 1953, 1966, 1982, 1996, 2010, 2024, 2039, 2054, 2062, 2071, 2078, 2088, 2096, 2101, 2104, 2110, 2116, 2120, 2126, 2136, 2148, 2156, 2161, 2164, 2168, 2171, 2176, 2183, 2191, 2197, 2203, 2203, 2204, 2203, 2199, 2191, 2183, 2174, 2166, 2155, 2141, 2127, 2114, 2101, 2085, 2068, 2054, 2041, 2029, 2015, 2005, 1997, 1990, 1981, 1975, 1969, 1966, 1963, 1955, 1947, 1939, 1927, 1915, 1904, 1898, 1892, 1888, 1882, 1878, 1877, 1876, 1873, 1873, 1874, 1881, 1887, 1893, 1899, 1909, 1920, 1931, 1940, 1953, 1968, 1981, 1994, 2010, 2024, 2040, 2051, 2061, 2070, 2080, 2088, 2094, 2099, 2106, 2110, 2114, 2118, 2125, 2135, 2146, 2153, 2161, 2165, 2168, 2170, 2176, 2184, 2192, 2197, 2199, 2202, 2204, 2202, 2196, 2189, 2182, 2175, 2164, 2152, 2139, 2127, 2113, 2098, 2082, 2067, 2055, 2041, 2025, 2015, 2004, 1998, 1989, 1979, 1974, 1970, 1966, 1960, 1954, 1947, 1939, 1926, 1914, 1905, 1898, 1891, 1884, 1880, 1879, 1878, 1872, 1871, 1872, 1876, 1881, 1885, 1892, 1900, 1909, 1918, 1926, 1939, 1953, 1967, 1979, 1993, 2009, 2025, 2036, 2047, 2059, 2070, 2078, 2084, 2092, 2102, 2105, 2109, 2112, 2118, 2126, 2134, 2144, 2152, 2160, 2164, 2164, 2167, 2176, 2185, 2190, 2193, 2198, 2203, 2203, 2200, 2193, 2187, 2182, 2173, 2162, 2150, 2139, 2125, 2112, 2095, 2080, 2068, 2054, 2036, 2023, 2013, 2005, 1995, 1985, 1978, 1973, 1968, 1963, 1957, 1953, 1946, 1936, 1924, 1912, 1903, 1896, 1888, 1883, 1880, 1877, 1874, 1872, 1870, 1872, 1875, 1878, 1883, 1891, 1901, 1907, 1915, 1925, 1940, 1953, 1964, 1977, 1994, 2009, 2023, 2035, 2048, 2061, 2069, 2075, 2083, 2093, 2099, 2101, 2105, 2111, 2119, 2125, 2132, 2141, 2151, 2160, 2161, 2162, 2165, 2176, 2183, 2188, 2192, 2199, 2201, 2200, 2196, 2192, 2188, 2178, 2169, 2159, 2149, 2139, 2123, 2108, 2093, 2080, 2064, 2050, 2035, 2023, 2013, 2002, 1993, 1986, 1978, 1970, 1964, 1960, 1957, 1951, 1943, 1934, 1923, 1913, 1901, 1892, 1886, 1882, 1879, 1874, 1870, 1869, 1871, 1871, 1871, 1876, 1883, 1891, 1899, 1904, 1914, 1927, 1939, 1953, 1963, 1978, 1993, 2007, 2020, 2035, 2047, 2059, 2066, 2075, 2084, 2094, 2097, 2101, 2105, 2112, 2117, 2122, 2129, 2142, 2153, 2159, 2159, 2162, 2166, 2174, 2181, 2185, 2192, 2199, 2200, 2200, 2197, 2193, 2185, 2178, 2168, 2160, 2149, 2135, 2121, 2107, 2094, 2078, 2061, 2045, 2034, 2022, 2010, 1999, 1992, 1987, 1978, 1969, 1964, 1960, 1955, 1949, 1940, 1933, 1922, 1910, 1901, 1892, 1887, 1881, 1878, 1873, 1871, 1871, 1868],
"success": true
};
$().ready(function () {
var data = [];
resp.samples.forEach(function (a, i) {
if (i > 500) return;
data.push({x: i, y: a});
});
// Build the chart
var chartData = {
series: [
{
name: 'series-1',
data: data
},
]
};
var plugins = [];
var mql = window.matchMedia('screen and (min-width: 544px)');
var isPhone = !mql.matches;
if (!isPhone) {
// larger than phone
plugins.push(
Chartist.plugins.ctAxisTitle({
axisX: {
axisTitle: 'Sample Nr.',
offset: {
x: 0,
y: 55
}
},
axisY: {
axisTitle: 'ADC value',
flipText: true,
offset: {
x: 0,
y: 15
}
}
})
);
}
var chartSettings = {
showPoint: false,
showArea: true,
fullWidth: true,
chartPadding: (isPhone ? {
right: 20,
bottom: 5,
left: 0
} : {
right: 25,
bottom: 30,
left: 25
}),
series: {
'series-1': {
lineSmooth: Chartist.Interpolation.none()
}
},
axisX: {
type: Chartist.AutoScaleAxis,
onlyInteger: true
},
axisY: {
type: Chartist.AutoScaleAxis,
//onlyInteger: true
},
plugins: plugins
};
new Chartist.Line('#chart', chartData, chartSettings);
});
</script>
<?php include "_end.php"; ?>