<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/pyb, branch 5.0.0-alpha.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=5.0.0-alpha.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=5.0.0-alpha.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2018-06-08T03:00:27+00:00</updated>
<entry>
<title>tests/pyb: Make i2c and pyb1 pyboard tests run again.</title>
<updated>2018-06-08T03:00:27+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-06-08T03:00:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a12d046c42dc7e786563f8247ed8aa8ac6e14a47'/>
<id>urn:sha1:a12d046c42dc7e786563f8247ed8aa8ac6e14a47</id>
<content type='text'>
For i2c.py: the accelerometer now uses the new I2C driver so need to
explicitly init the legacy i2c object to get the test working.

For pyb1.py: the legacy pyb.hid() call will crash if the USB_HID object is
not initialised.
</content>
</entry>
<entry>
<title>tests/pyb: Update tests to run correctly on PYBv1.0.</title>
<updated>2018-05-02T05:25:37+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-05-02T05:25:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=db2bdad8a2ed0814a64d0859fa6ea435a110d304'/>
<id>urn:sha1:db2bdad8a2ed0814a64d0859fa6ea435a110d304</id>
<content type='text'>
In adcall.py the pyb module may not be imported, so use ADCAll directly.

In dac.py the DAC object now prints more info, so update .exp file.

In spi.py the SPI should be deinitialised upon exit, so the test can run a
second time correctly.
</content>
</entry>
<entry>
<title>tests/pyb: Add test for pyb.ADCAll class.</title>
<updated>2018-04-11T07:12:13+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-04-11T07:12:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d12483d93662d0aa1a421f4f8348c7e960c25183'/>
<id>urn:sha1:d12483d93662d0aa1a421f4f8348c7e960c25183</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stm32/dac: Add buffering argument to constructor and init() method.</title>
<updated>2018-04-11T04:22:21+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-04-10T12:25:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b30e0d2f2683a809ae393dd402aad89a62a22df3'/>
<id>urn:sha1:b30e0d2f2683a809ae393dd402aad89a62a22df3</id>
<content type='text'>
This can be used to select the output buffer behaviour of the DAC.  The
default values are chosen to retain backwards compatibility with existing
behaviour.

Thanks to @peterhinch for the initial idea to add this feature.
</content>
</entry>
<entry>
<title>stm32/adc: Add read_timed_multi() static method, with docs and tests.</title>
<updated>2018-04-11T03:36:17+00:00</updated>
<author>
<name>Peter Hinch</name>
<email>peter@hinch.me.uk</email>
</author>
<published>2018-03-04T09:07:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4f40fa5cf4de7a8eabe073493e2df54c8a08ea89'/>
<id>urn:sha1:4f40fa5cf4de7a8eabe073493e2df54c8a08ea89</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/pyb/adc.py: Fix test so that it really does test ADC values.</title>
<updated>2018-04-11T03:21:57+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-04-11T03:20:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0096a4bd005606489a5b7fdfda8e2a60a1709e13'/>
<id>urn:sha1:0096a4bd005606489a5b7fdfda8e2a60a1709e13</id>
<content type='text'>
Reading into a bytearray will truncate values to 0xff so the assertions
checking read_timed() would previously always succeed.

Thanks to @peterhinch for finding this problem and providing the solution.
</content>
</entry>
<entry>
<title>tests/pyb/can: Update to test pyb.CAN restart, state, info, inplace recv</title>
<updated>2018-03-19T04:15:39+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-03-19T04:15:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=22c693aa6fc0f325bc42f4da5904244fefbfc5b1'/>
<id>urn:sha1:22c693aa6fc0f325bc42f4da5904244fefbfc5b1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/pyb: Update CAN test to expect that auto_restart is printed.</title>
<updated>2018-03-16T07:37:55+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2018-03-16T07:37:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9600a1f207edf90d72b5f7c545172785f3943ff5'/>
<id>urn:sha1:9600a1f207edf90d72b5f7c545172785f3943ff5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Convert remaining "sys.exit()" to "raise SystemExit".</title>
<updated>2017-06-10T17:34:38+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-06-10T17:14:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=85d809d1f4e35a511e0a56b3411126e05a31c01b'/>
<id>urn:sha1:85d809d1f4e35a511e0a56b3411126e05a31c01b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>various: Spelling fixes</title>
<updated>2017-05-29T08:36:05+00:00</updated>
<author>
<name>Ville Skyttä</name>
<email>ville.skytta@iki.fi</email>
</author>
<published>2017-05-29T07:08:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ca16c3821053e5bf2b87aeb10007f73f31dc1eac'/>
<id>urn:sha1:ca16c3821053e5bf2b87aeb10007f73f31dc1eac</id>
<content type='text'>
</content>
</entry>
</feed>
