Search found 33 matches

by P@T
Tue Sep 21, 2021 4:28 pm
Forum: General Discussion and Questions
Topic: write adress binary I2C
Replies: 2
Views: 1479

Re: write adress binary I2C

I did this

Code: Select all

for my_address in range (7):
	AD0.value(my_address & 0b001)
	AD1.value(my_address & 0b010)
	AD2.value(my_address & 0b100)
	
	print(com.scan())
perfect ;)
by P@T
Tue Sep 21, 2021 1:55 pm
Forum: General Discussion and Questions
Topic: write adress binary I2C
Replies: 2
Views: 1479

Re: write adress binary I2C

Code: Select all

my_addresse = 0b010

AD0.value(my_address & 0b001)
AD1.value(my_address & 0b010)
AD2.value(my_address & 0b100)
like this ?
by P@T
Tue Sep 21, 2021 1:02 pm
Forum: General Discussion and Questions
Topic: write adress binary I2C
Replies: 2
Views: 1479

write adress binary I2C

Hi, how to write the addresses in one go? I use a nucleoF411RE AD0 = Pin('PA0', Pin.OUT) AD1 = Pin('PA1', Pin.OUT) AD2 = Pin('PA4', Pin.OUT) AD2 AD1 AD0 Sequence I2C 0 0 0 0100 0000 0 0 1 0100 0010 0 1 0 0100 0100 | | | | | | | | | | | | | | | | | | | | 1 1 1 0100 1110 Thank you
by P@T
Mon Dec 14, 2020 3:10 pm
Forum: General Discussion and Questions
Topic: why isn't the PYBOARD D on sale everywhere ?
Replies: 0
Views: 1641

why isn't the PYBOARD D on sale everywhere ?

Hi,

I find a original Pyboard v1.1 at
  • digikey.fr
  • mouser.fr
  • fr.rs-online.com
(those are professional suppliers)
but not the PYBOARD D ? why ?


Thank you
by P@T
Thu May 14, 2020 12:18 pm
Forum: General Discussion and Questions
Topic: Tuto HID mousse with nucleo411
Replies: 9
Views: 5262

Re: Tuto HID mousse with nucleo411

Hi, I have to add the line 7 #define MICROPY_HW_BOARD_NAME "NUCLEO-F411RE" #define MICROPY_HW_MCU_NAME "STM32F411xE" #define MICROPY_HW_HAS_SWITCH (1) #define MICROPY_HW_HAS_FLASH (1) #define MICROPY_HW_ENABLE_RTC (1) #define MICROPY_HW_ENABLE_USB (1) and I have a problem : pat@pat-3000-N100:~/micro...
by P@T
Wed May 13, 2020 3:04 pm
Forum: General Discussion and Questions
Topic: Tuto HID mousse with nucleo411
Replies: 9
Views: 5262

Re: Tuto HID mousse with nucleo411

I'm sorry shaoziyang, i didn't see your answer.

I'm going to add this line and follow the instructions.
(If i have any problems, I can ask for your help ?)

Thank you
by P@T
Wed May 13, 2020 3:00 pm
Forum: General Discussion and Questions
Topic: Tuto HID mousse with nucleo411
Replies: 9
Views: 5262

Re: Tuto HID mousse with nucleo411

thank you for your response.

In DFU mode there is a USB port on stm32f411 ? PA_11 and PA_12

Image

I try to rebuild a firmware (it's the first time, I hope it's not hard)
by P@T
Wed May 13, 2020 11:53 am
Forum: General Discussion and Questions
Topic: Tuto HID mousse with nucleo411
Replies: 9
Views: 5262

Tuto HID mousse with nucleo411

Hi, I try the tutorial with a board nucleo411 but it is possible ? I don't know how to access the boot file ... I don't see : usb_mode >>> MicroPython v1.12-371-gf534b9976 on 2020-04-15; NUCLEO-F411RE with STM32F411xE Type "help()" for more information. >>> import pyb >>> pyb. __class__ __name__ mai...
by P@T
Sun Apr 19, 2020 9:51 am
Forum: General Discussion and Questions
Topic: Nucleo STM32F411 change Pin UART
Replies: 2
Views: 2613

Re: Nucleo STM32F411 change Pin UART

Hi jimmo

I'm sorry, it's because of my English.
You have answered my question. I'm going to rebuild the firmware.

Thank you very much
by P@T
Sat Apr 18, 2020 10:21 am
Forum: General Discussion and Questions
Topic: Nucleo STM32F411 change Pin UART
Replies: 2
Views: 2613

Nucleo STM32F411 change Pin UART

Hi, I work with a nucleo F411 but i have a problem with UART on the "ARDUINO HEADER". I use the UART6 on the NUCLEO HEADER but it's missing on the ARDUINO-HEADER. Can I redirect the UART6 to the pin's of UART1 without rebuilding the firmware ? In mpconfigboard.h there don't UART1 // UART config #def...