File tree Expand file tree Collapse file tree 5 files changed +4
-14
lines changed Expand file tree Collapse file tree 5 files changed +4
-14
lines changed Original file line number Diff line number Diff line change 8
8
msgstr ""
9
9
"Project-Id-Version : PACKAGE VERSION\n "
10
10
"Report-Msgid-Bugs-To : \n "
11
- "POT-Creation-Date : 2020-10-01 17:17 -0400\n "
11
+ "POT-Creation-Date : 2020-10-05 12:59 -0400\n "
12
12
"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
13
13
"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
14
14
"
Language-Team :
LANGUAGE <[email protected] >\n "
Original file line number Diff line number Diff line change @@ -39,12 +39,4 @@ typedef struct {
39
39
const mcu_pin_obj_t * pin ;
40
40
} analogio_analogin_obj_t ;
41
41
42
- static inline uint8_t stm32_adc_units (uint8_t adc_packed ) {
43
- return adc_packed >> 5 ;
44
- }
45
-
46
- static inline uint8_t stm32_adc_channel (uint8_t adc_packed ) {
47
- return adc_packed & 0x1f ;
48
- }
49
-
50
42
#endif // MICROPY_INCLUDED_ESP32S2_COMMON_HAL_ANALOGIO_ANALOGIN_H
Original file line number Diff line number Diff line change 39
39
40
40
void common_hal_analogio_analogout_construct (analogio_analogout_obj_t * self ,
41
41
const mcu_pin_obj_t * pin ) {
42
- //mp_raise_ValueError (translate("No DAC on chip"));
42
+ mp_raise_NotImplementedError (translate ("No DAC on chip" ));
43
43
}
44
44
45
45
bool common_hal_analogio_analogout_deinited (analogio_analogout_obj_t * self ) {
@@ -52,7 +52,6 @@ void common_hal_analogio_analogout_deinit(analogio_analogout_obj_t *self) {
52
52
53
53
void common_hal_analogio_analogout_set_value (analogio_analogout_obj_t * self ,
54
54
uint16_t value ) {
55
-
56
55
}
57
56
58
57
void analogout_reset (void ) {
Original file line number Diff line number Diff line change 25
25
* THE SOFTWARE.
26
26
*/
27
27
28
- #ifndef MICROPY_INCLUDED_STM32F4_COMMON_HAL_ANALOGIO_ANALOGOUT_H
29
- #define MICROPY_INCLUDED_STM32F4_COMMON_HAL_ANALOGIO_ANALOGOUT_H
28
+ #ifndef MICROPY_INCLUDED_ESP32S2_COMMON_HAL_ANALOGIO_ANALOGOUT_H
29
+ #define MICROPY_INCLUDED_ESP32S2_COMMON_HAL_ANALOGIO_ANALOGOUT_H
30
30
31
31
#include "common-hal/microcontroller/Pin.h"
32
32
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ USB_SERIAL_NUMBER_LENGTH = 12
13
13
LONGINT_IMPL = MPZ
14
14
15
15
# These modules are implemented in ports/<port>/common-hal:
16
- # CIRCUITPY_ANALOGIO = 0
17
16
CIRCUITPY_FULL_BUILD = 1
18
17
CIRCUITPY_AUDIOBUSIO = 0
19
18
CIRCUITPY_AUDIOIO = 0
You can’t perform that action at this time.
0 commit comments