<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -240,63 +240,8 @@ class ArduinoSketch
       end
     end
   end
-  
-
-    # a different way to setup external variables outside the loop
-    # 
-    # in addition to being added to the c file as external variables:
-    # we fake ruby2c out by adding them to internal vars for ruby2c processing
-    # but we don't include then in the cpp loop
-    # then, we use the indentiers to remove any parens that ruby2c adds 
-    # this resolves ruby2c's habit of converting variables to methods
-    # need tests and ability to add custom char length
-    def external_vars(opts={})
-      if opts
-          opts.each do |k,v|
-            if v.include? &quot;,&quot;
-              if v.split(&quot;,&quot;)[0] == &quot;char&quot;
-                ## default is 40 characters
-                if v.split(&quot;,&quot;)[2]
-                    $external_vars &lt;&lt; &quot;#{v.split(&quot;,&quot;)[0]}* #{k}[#{v.split(&quot;,&quot;)[2].lstrip}];&quot;
-                else
-                    $external_vars &lt;&lt; &quot;#{v.split(&quot;,&quot;)[0]} #{k}[40] = \&quot;#{v.split(&quot;,&quot;)[1].lstrip}\&quot;;&quot;
-                end
-              else
-              $external_vars &lt;&lt; &quot;#{v.split(&quot;,&quot;)[0]} #{k} =#{v.split(&quot;,&quot;)[1]};&quot;
-              end
-            else
-              if v.split(&quot;,&quot;)[0] == &quot;char&quot;
-                $external_vars &lt;&lt; &quot;#{v.split(&quot;,&quot;)[0]} #{k}[40];&quot;
-              else
-
-                $external_vars &lt;&lt; &quot;#{v.split(&quot;,&quot;)[0]} #{k};&quot;
-              end
-            end
-            # check chars work here
-            $external_var_identifiers &lt;&lt; k
-         end
-      end
-    end
-
-    # phasing this out
-    def add_to_setup(*args)
-      if args
-         args.each do |arg|
-           $add_to_setup &lt;&lt; arg
-         end
-       end
-    end
 
-    # phasing this out
-    def external_arrays(*args)
-      if args
-        args.each do |arg|
-          $external_array_vars &lt;&lt; arg
-        end
-      end
 
-    end
-    
     # array &quot;char buffer[32]&quot;
     # result: char buffer[32];
     # array &quot;char buffer[32]&quot;</diff>
      <filename>lib/rad/arduino_sketch.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d167fbdb142ea5d6749ca9f7f959068ac5050bf7</id>
    </parent>
  </parents>
  <author>
    <name>JD Barnhart</name>
    <email>jd@jdbarnhart.com</email>
  </author>
  <url>http://github.com/madrona/rad/commit/10ae4b0629d369c1a9e50300c3cec2b274a2d36e</url>
  <id>10ae4b0629d369c1a9e50300c3cec2b274a2d36e</id>
  <committed-date>2008-07-31T13:04:07-07:00</committed-date>
  <authored-date>2008-07-31T13:04:07-07:00</authored-date>
  <message>pulled out deprecated external_vars, add_to_setup and exteral_arrays methods</message>
  <tree>8f7e15543d04b98a65c4700b0feb8f0d848cf356</tree>
  <committer>
    <name>JD Barnhart</name>
    <email>jd@jdbarnhart.com</email>
  </committer>
</commit>
