Init board correctly on startup (stop stream, set daisy).
Esse commit está contido em:
@@ -7,11 +7,13 @@ Features:
|
|||||||
- test sampling rate
|
- test sampling rate
|
||||||
- plugin system
|
- plugin system
|
||||||
- several different callback functions
|
- several different callback functions
|
||||||
|
- start streaming in a separate thread so new commands can be issued
|
||||||
|
|
||||||
Bugfixes:
|
Bugfixes:
|
||||||
- scale factor
|
- scale factor
|
||||||
- timing for Windows OS
|
- timing for Windows OS
|
||||||
- aux data endianness
|
- aux data endianness
|
||||||
|
- reset board on startup
|
||||||
|
|
||||||
## 0.1 (2015-02-11)
|
## 0.1 (2015-02-11)
|
||||||
|
|
||||||
|
|||||||
+10
-2
@@ -132,8 +132,16 @@ Board outputs are automatically printed as: \n\
|
|||||||
$$$ signals end of message"
|
$$$ signals end of message"
|
||||||
|
|
||||||
print("\n-------------BEGIN---------------")
|
print("\n-------------BEGIN---------------")
|
||||||
#Start by restoring default settings
|
# Init board state
|
||||||
s = 'd'
|
# s: stop board streaming; v: soft reset of the 32-bit board (no effect with 8bit board)
|
||||||
|
s = 'sv'
|
||||||
|
# Tell the board to enable or not daisy module
|
||||||
|
if board.daisy:
|
||||||
|
s = s + 'C'
|
||||||
|
else:
|
||||||
|
s = s + 'c'
|
||||||
|
# d: Channels settings back to default
|
||||||
|
s = s + 'd'
|
||||||
|
|
||||||
while(s != "/exit"):
|
while(s != "/exit"):
|
||||||
#Send char and wait for registers to set
|
#Send char and wait for registers to set
|
||||||
|
|||||||
Referência em uma Nova Issue
Bloquear um usuário