<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>testscripts/ on Nightsniffing</title>
    <link>http://localhost/iterations/datasniffer/technicaldoc/nightstepscode/testscripts/</link>
    <description>Recent content in testscripts/ on Nightsniffing</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 23 Sep 2021 16:00:58 +0100</lastBuildDate><atom:link href="http://localhost/iterations/datasniffer/technicaldoc/nightstepscode/testscripts/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>test_chuckout.pl</title>
      <link>http://localhost/iterations/datasniffer/technicaldoc/nightstepscode/testscripts/test_chuckout.pl/</link>
      <pubDate>Thu, 23 Sep 2021 16:00:58 +0100</pubDate>
      
      <guid>http://localhost/iterations/datasniffer/technicaldoc/nightstepscode/testscripts/test_chuckout.pl/</guid>
      <description>use strict; use warnings; use ns_chuckout; use Math::Trig; my $ck = ns_chuckout-&amp;gt;new(&amp;#34;basic1&amp;#34;); my $so1 = { panning =&amp;gt; 0.2, starttime =&amp;gt; 0.12, gain =&amp;gt; 0.1, freq =&amp;gt; 400, dur =&amp;gt; 30, }; my $so2 = { panning =&amp;gt; 0.6, starttime =&amp;gt; 0.67, gain =&amp;gt; 0.9, freq =&amp;gt; 1604, dur =&amp;gt; 70, }; my $so3 = { panning =&amp;gt; 0.6, starttime =&amp;gt; 0.84, gain =&amp;gt; 0.7, freq =&amp;gt; 2000, dur =&amp;gt; 60, }; my @a; push @a, $so1; push @a, $so2; push @a, $so3; $ck-&amp;gt;basicOut(\@a); </description>
    </item>
    
    <item>
      <title>test_gpio.pl</title>
      <link>http://localhost/iterations/datasniffer/technicaldoc/nightstepscode/testscripts/test_gpio.pl/</link>
      <pubDate>Thu, 23 Sep 2021 16:00:58 +0100</pubDate>
      
      <guid>http://localhost/iterations/datasniffer/technicaldoc/nightstepscode/testscripts/test_gpio.pl/</guid>
      <description>use strict; use warnings; use ns_gpio; my $aport = ns_gpio-&amp;gt;new(&amp;#39;a&amp;#39;,7); sleep 1; my $out = $aport-&amp;gt;readValue; print $out; </description>
    </item>
    
    <item>
      <title>test_powerstatus.py</title>
      <link>http://localhost/iterations/datasniffer/technicaldoc/nightstepscode/testscripts/test_powerstatus.py/</link>
      <pubDate>Thu, 23 Sep 2021 16:00:58 +0100</pubDate>
      
      <guid>http://localhost/iterations/datasniffer/technicaldoc/nightstepscode/testscripts/test_powerstatus.py/</guid>
      <description>#Script by Harlem Squirrel https://harlemsquirrel.github.io/shell/2019/01/05/monitoring-raspberry-pi-power-and-thermal-issues.html #!/usr/bin/env python2 import subprocess GET_THROTTLED_CMD = &amp;#39;vcgencmd get_throttled&amp;#39; MESSAGES = { 0: &amp;#39;Under-voltage!&amp;#39;, 1: &amp;#39;ARM frequency capped!&amp;#39;, 2: &amp;#39;Currently throttled!&amp;#39;, 3: &amp;#39;Soft temperature limit active&amp;#39;, 16: &amp;#39;Under-voltage has occurred since last reboot.&amp;#39;, 17: &amp;#39;Throttling has occurred since last reboot.&amp;#39;, 18: &amp;#39;ARM frequency capped has occurred since last reboot.&amp;#39;, 19: &amp;#39;Soft temperature limit has occurred&amp;#39; } print(&amp;#34;Checking for throttling issues since last reboot...&amp;#34;) throttled_output = subprocess.check_output(GET_THROTTLED_CMD, shell=True) throttled_binary = bin(int(throttled_output.</description>
    </item>
    
  </channel>
</rss>
