Commit Graph

8769 Commits

Author SHA1 Message Date
Scott Shawcroft
f16619ad3c Update driver links including categories! 2018-03-06 16:54:13 -08:00
Scott Shawcroft
892d5cda63
Merge pull request #641 from dhalbert/2.x_esp8266_remove_obsolete_drivers
Remove obsolete peripheral drivers in esp module
2018-02-23 12:37:18 -08:00
Dan Halbert
641a44e3e9 Remove obsolete periphal drivers in esp module 2018-02-23 10:57:59 -05:00
Dan Halbert
419920987c
Merge pull request #632 from tannewt/delete_out_of_date
Delete out of date docs, drivers and examples
2018-02-21 20:14:46 -05:00
Scott Shawcroft
e667bdfe05 Polish up the README since it was converted to RST from Markdown. 2018-02-20 18:06:42 -08:00
Scott Shawcroft
20dd3b1e43 Delete a bunch of docs, drivers and examples not relevant to CircuitPython.
This fixes #345 and fixes #215.
2018-02-20 17:34:59 -08:00
Dan Halbert
ee90056866
Merge pull request #621 from tannewt/tweak_itsybitsy_status_brightness
Increase the status LED brightness a bit so that newer DotStars
2018-02-15 21:01:13 -05:00
Scott Shawcroft
06c944519d Fix builds without status pixel. No need to track its brightness when its unavaialable. 2018-02-13 09:39:19 -08:00
Scott Shawcroft
a5220010f2 Dim the neopixel status LED through the brightness control. 2018-02-12 18:34:59 -08:00
Scott Shawcroft
4cc2cf0e8f Increase the status LED brightness a bit so that newer DotStars
aren't super dim. This will make status NeoPixels a bit bright
but one can use samd.set_rgb_status_brightness() to dim them.
2018-02-12 18:09:37 -08:00
Limor "Ladyada" Fried
59ad16b506
Merge pull request #612 from tuupola/patch-1
Magnetometer values are also 3d vector of uT
2018-02-11 12:32:31 -05:00
Mika Tuupola
2a3de8d185
Magnetometer values are also 3d vector of uT
Unless I have misunderstood something design guide should have matching the definition with [Unified Sensor Driver](https://github.com/adafruit/Adafruit_Sensor/blob/master/Adafruit_Sensor.h#L111).
2018-02-11 23:15:01 +07:00
Dan Halbert
b6114d1f75
Merge pull request #580 from ladyada/pirkey
pIRKey tested w/ hardware
2018-02-04 23:51:58 -05:00
ladyada
80ff1c49a6 pIRKey tested w/ hardware - basically a trinket or gemma with only dotstar LED + IR Receiver 2018-02-04 23:00:23 -05:00
Dan Halbert
dfd57e4ad4
Merge pull request #571 from ladyada/fix_itsybitsy_flash
memory type for alt flash fix
2018-02-02 09:47:52 -08:00
ladyada
448d13e7b4 memory type for alt flash fix 2018-01-30 01:24:28 -05:00
Dan Halbert
544b9e4ba0
Merge pull request #541 from ladyada/itsybitsy_m0_fixes
Itsybitsy m0 fixes
2018-01-19 20:24:17 -08:00
ladyada
6b66c3b7a3 Add W25Q16 USON flash support, alternative flash type support for all boards 2018-01-19 23:00:04 -05:00
Tony DiCola
3b946f667e Add missing Feather M0 RadioFruit boards: RFM69, RFM9x. (#538) 2018-01-19 11:55:39 -08:00
Radomir Dopieralski
8251abba8a
Merge pull request #520 from pewpew-game/2.x
Fix example for gamepad
2018-01-11 18:44:50 +01:00
Radomir Dopieralski
0ff128ec03 Fix example for gamepad
The example code for the gamepad module would skip detected
button presses in the code that waits for a button to be released,
because it would run it even when no button is pressed.

Also updated the example pin names to not use RX and TX.
2018-01-11 17:06:53 +01:00
Dan Halbert
d9ae709045
Merge pull request #505 from dhalbert/2.2_update_cpx_frozen_libs
update CPX frozen modules to latest versions
2017-12-30 12:16:27 -05:00
Dan Halbert
9a50fa4a50 update CPX frozen modules to latest versions 2017-12-30 11:22:29 -05:00
Dan Halbert
94e645defa
Merge pull request #499 from dhalbert/2.x_frozen_module_version_info
Add git version info to frozen modules.
2017-12-24 14:58:42 -05:00
Dan Halbert
31be20744d preprocess_frozen_modules.py: yet more Python 3.4 compatibility changes 2017-12-24 14:29:03 -05:00
Dan Halbert
644ad74ea1 preprocess_frozen_modules.py: make compatible with Python 3.4. 2017-12-24 13:49:58 -05:00
Dan Halbert
2dcb2f06cb Add git version info to frozen modules. 2017-12-23 23:46:19 -05:00
Dan Halbert
e44fbca272 PDMIn: Make last DMA buffer be exactly the right length. 2017-12-23 09:35:45 -08:00
Dan Halbert
7918714043 certain odd-sized PDMIn record buffers would crash or not fill properly 2017-12-23 09:35:45 -08:00
Dan Halbert
2d2735c9d4 Error in PDMIn filter loop. 2017-12-21 13:59:16 -08:00
Dan Halbert
e671fa2f7a
Merge pull request #495 from tannewt/fix_baud_reset
Fix 1200 baud reset.
2017-12-20 18:32:55 -05:00
Scott Shawcroft
39f30aeec6 Fix 1200 baud reset.
Fixes #494
2017-12-20 15:17:06 -08:00
Dan Halbert
ec1d29f4ae check twice for bad filesystem 2017-12-20 09:02:30 -08:00
Dan Halbert
23dd19757a Wait 2 secs before creating new filesystem in case power is jittery 2017-12-20 09:02:30 -08:00
Dan Halbert
22bbb6ab86 Don't include examples directories in frozen libraries 2017-12-20 09:00:45 -08:00
Dan Halbert
7f8972b842
Merge pull request #489 from adafruit/test_2.x
Add root .readthedocs.yml config
2017-12-19 13:11:22 -05:00
Scott Shawcroft
e3df0104b0 Add root readthedocs.yml file. 2017-12-19 09:24:12 -08:00
Kattni
aca4b60d28
Merge pull request #486 from dhalbert/2.x_lis3dh_3.0.0
update CPX frozen Adafruit_CircuitPython_LIS3DH to library version 3.0.0
2017-12-15 13:42:09 -05:00
Dan Halbert
054cac3e4b update CPX frozen Adafruit_CircuitPython_LIS3DH to library version 3.0.0 2017-12-15 13:25:46 -05:00
Dan Halbert
0c0a09aeb6 Speed up AnalogIn.value. 2017-12-15 09:56:39 -08:00
Kattni
6d603e462d
Merge pull request #483 from dhalbert/2.x
bring CPX frozen modules up to date
2017-12-14 18:38:05 -05:00
Dan Halbert
a37cc171e8 bring CPX frozen modules up to date 2017-12-14 17:43:59 -05:00
Dan Halbert
f2ad1a3679 Write version info to boot_out.txt. 2017-12-14 09:59:40 -08:00
Dan Halbert
43650b6896 Fix PDMIn MEMS microphone support (#479)
Changes:

    * New faster filter loop, by @ladyada. New filter coefficients as well.
    * Turn on microphone clock when PDMIn object is created, and run it all the time, so the user code doesn't have to wait for microphone startup, which can be 10ms or even 100ms.
    * Wait for microphone startup when PDMIn is first created, based on new optional parameter microphone_startup in seconds (takes a float).
    * record() returns number of samples actually recorded, so you can see if it's not keeping up.
    * Fix buffer overflow errors when buffer size was not a multiple of 16 or something like that.
    * Tweak a few peripheral settings.
    * Minimum sampling frequency is now 16kHZ or so, because 8kHz runs microphone at only 0.5MHz, which is too slow for many mics.

Note: I tried 128x oversampling instead of 64x, but the code cannot keep up at 24kHz or above sampling. 128x would reduce the high-frequency noise by 6db.
2017-12-13 10:12:49 -08:00
Dan Halbert
3c49f53eac
Merge pull request #474 from tannewt/mcu_reset
Introduce reset mechanics to microcontroller.
2017-12-05 19:20:26 -05:00
Scott Shawcroft
a91e1cb682 Fix a couple spelling errors. 2017-12-05 16:04:47 -08:00
Scott Shawcroft
b4d3699047 Introduce reset mechanics to microcontroller.
This allows one to configure how a subsequent reset will behave and
also trigger a reset.

Fixes #350 and fixes #173
2017-12-05 14:50:58 -08:00
Dan Halbert
78db6c32cd
Merge pull request #473 from dhalbert/2.x_esp8266_bidi_spi
add SPI.write_readinto() to esp8266 port
2017-12-05 16:41:09 -05:00
Dan Halbert
2900ed22e7 add SPI.write_readinto() to esp8266 port 2017-12-05 16:03:22 -05:00
Dan Halbert
e75fd0e166 add SPI.write_readinto() - bidirectional SPI 2017-12-05 11:17:16 -08:00