Skip to content

Commit

Permalink
pi/Camera: start on standalone test
Browse files Browse the repository at this point in the history
  • Loading branch information
osnr committed Apr 5, 2024
1 parent acb88a1 commit fc9eb45
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pi/Camera.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -313,3 +313,13 @@ namespace eval Camera {
return $image
}
}

if {[info exists ::argv0] && $::argv0 eq [info script]} {
puts Hello

namespace eval ::Camera {
variable WIDTH 1280
variable HEIGHT 720
}
Camera::init 1280 720
}

0 comments on commit fc9eb45

Please sign in to comment.