English | 简体中文
Milkv-duo duo-debian-full.7z (519M) Download
- A lot of Debian community software that can use apt to install gcc gdb
- Debian porting notes by Milkv Duo: https://www.taterli.com/9532/
-
Download the pinpong library for Milkv Duo pinpong.zip
-
This pinpong package is extracted from the official
milkv-duo-v1.0.4-2023-0908.img.zip
. If you use the official image, you can use it directly without installation.
scp pinpong.zip root@192.168.42.1:~
Unzip, install and test on Milkv Duo. The site-packages directory will be different in different python versions. Here is python3.9
unzip -q pinpong.zip
cp -r pinpong /usr/lib/python3.9/site-packages/
cp -r serial /usr/lib/python3.9/site-packages/
python -c 'import pinpong'
less /usr/lib/python3.9/site-packages/pinpong/extension/milkvDuo.py
import time
from pinpong.board import Board,Pin
# Initialize, select the board type, if you do not enter the board type, it will be automatically recognized.
Board("MILKV-DUO").begin()
# The pin is initialized as level output
led = Pin(Pin.D0, Pin.OUT)
while True:
led.value(1) #Output high level
print("1") #Terminal print information
time.sleep(1) #Wait for 1 second to maintain the state
led.value(0) #Output low level
print("0") #Terminal print information
time.sleep(1) #Wait for 1 second to maintain the state
- C language compiler that can be run on the milkv-duo development board
This module builds on BaseHTTPServer by implementing the standard GET and HEAD requests in a fairly straightforward manner.
Milkv-duo compilation image adds Python Pip3 Nano vim tmux and more software animation demonstration
cd /root/duo-buildroot-sdk/buildroot-2021.05
make milkv_duo_musl_riscv64_defconfig
make menuconfig
- Can be copied and pasted into the window
./build_milkv.sh