Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion software/piffind.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env python

#----------------------------------------------------------------------
# Name: piffind.py
# Purpose: sarch for the XO2 via the smbus Python library
Expand All @@ -8,7 +10,6 @@
# Copyright: (c) Tim 2013
# Licence: Creative Commons Attribution-ShareAlike 3.0 Unported License.
#----------------------------------------------------------------------
#!/usr/bin/env python

import sys, ctypes, pifglobs
from ctypes import *
Expand Down
5 changes: 3 additions & 2 deletions software/pifload.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env python

#----------------------------------------------------------------------
# Name: pifload.py
# Purpose: load a configuration into a pif board via the hidapi DLL/SO
Expand All @@ -8,7 +10,6 @@
# Copyright: (c) Tim 2013
# Licence: Creative Commons Attribution-ShareAlike 3.0 Unported License.
#----------------------------------------------------------------------
#!/usr/bin/env python

import sys, ctypes, pifglobs
from ctypes import *
Expand Down Expand Up @@ -257,7 +258,7 @@ def main():
print('Configuration file is ' + jedecFile)

pifglobs.pif = ctypes.CDLL("libpif.so")

print('hallo')
strBuf = create_string_buffer(1000)
rv = pifglobs.pif.pifVersion(strBuf, sizeof(strBuf))
print('Using pif library version: %s\n' % repr(strBuf.value))
Expand Down
3 changes: 2 additions & 1 deletion software/pifweb.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env python

##---------------------------------------------------------
# Name: pifweb.py
# Purpose: control a pif board via a web server
Expand All @@ -12,7 +14,6 @@
#
# windows command line start: python pifweb.py
#
#!/usr/bin/env python

import sys, web, ctypes, pifglobs
from web import form
Expand Down
Loading