-
Notifications
You must be signed in to change notification settings - Fork 3
3. WCH
Carlos Alatorre edited this page Dec 30, 2022
·
1 revision
This wch board has these functions working at this moment:
- digitalWrite
- digitalRead
- analogWrite
- analogRead
Coming soon there will be more functions like:
- Serial
- SPI
- I2C
- USB
- Touch
- BLE periferico
- BLE host
- Low power
PORT_A There are 16 pins in the portA of which 16 are I/O digital pins, only 14 are analog inputs and there are 4 PWM channels for analog outputs.
PORT_B There are 24 pins in the portA of which 24 are I/O digital pins, no analog inputs and there are 9 PWM channels for analog outputs.
You must not use these pins:
- PB10 and PB11 only because are connected to the USB-C and if you put a LOW/HIGH signal you will provocate a short circuit.
You must be very careful with these pins:
- PB6 is connected to the reset button, you must only use it as an input.