stmhal: pyb.adc: Clarify that buffer with elements of any size can be used.

Based on forum post: http://forum.micropython.org/viewtopic.php?f=6&t=193
This commit is contained in:
Paul Sokolovsky 2014-06-29 21:33:01 +03:00
parent bb35f425f9
commit 5813efd634

View File

@ -202,7 +202,9 @@ STATIC mp_obj_t adc_read(mp_obj_t self_in) {
STATIC MP_DEFINE_CONST_FUN_OBJ_1(adc_read_obj, adc_read);
/// \method read_timed(buf, freq)
/// Read analog values into the given buffer at the given frequency.
/// Read analog values into the given buffer at the given frequency. Buffer
/// can be bytearray or array.array for example. If a buffer with 8-bit elements
/// is used, sample resolution will be reduced to 8 bits.
///
/// Example:
///