找回密码
 立即注册
查看: 771|回复: 5

How to copy source code example from PDF file

[复制链接]
  • 打卡等级:初来乍到
  • 打卡总天数:4
  • 最近打卡:2025-05-01 06:58:22

5

主题

184

回帖

1333

积分

金牌会员

积分
1333
发表于 2023-5-14 13:57:30 | 显示全部楼层 |阅读模式
I have STC8H Manual and example code, eg like section 20.8.3 Quadrature encoder mode, but select text does not support copy. It
seems silly to publish a PDF file with source code, yet then prohibit copy?
How can I copy, or find a link to the source code, in the PDF manual.

回复

使用道具 举报 送花

  • 打卡等级:偶尔看看III
  • 打卡总天数:55
  • 最近打卡:2025-05-02 08:32:59

718

主题

1万

回帖

1万

积分

管理员

积分
15630
发表于 2023-5-14 14:00:27 | 显示全部楼层
from here
1.png
1.png

回复 支持 1 反对 0

使用道具 举报 送花

  • 打卡等级:以坛为家I
  • 打卡总天数:328
  • 最近打卡:2025-03-09 19:40:01

9

主题

328

回帖

4501

积分

荣誉版主

积分
4501
发表于 2023-5-14 14:48:24 | 显示全部楼层
Some sources are also available in stc-isp (full version, a tiny one does not include these), so you won't be bothered by these folders with Chinese character naming


Screenshot 2023-05-14 144544.png Screenshot 2023-05-14 144420.png

回复 支持 反对

使用道具 举报 送花

  • 打卡等级:以坛为家I
  • 打卡总天数:328
  • 最近打卡:2025-03-09 19:40:01

9

主题

328

回帖

4501

积分

荣誉版主

积分
4501
发表于 2023-5-14 14:58:34 | 显示全部楼层
A tricky way is to print the manual via some sophisticated pdf readers, which can generate a new file with its original texts instead of pictures.
I tried that Chrome-build-in and Acrobat does not work, but there do be some readers that can help (this is not ad, so I won't state its name).
回复 支持 反对

使用道具 举报 送花

  • 打卡等级:初来乍到
  • 打卡总天数:4
  • 最近打卡:2025-05-01 06:58:22

5

主题

184

回帖

1333

积分

金牌会员

积分
1333
发表于 2023-5-14 16:09:20 | 显示全部楼层
Great, thanks, did not think to look inside the ISP tools, so I can download code.
That still leaves open the question of why you cannot copy from the PDF ?  No other MCU vendor I've seen prevents that ?
回复 支持 反对

使用道具 举报 送花

  • 打卡等级:初来乍到
  • 打卡总天数:4
  • 最近打卡:2025-05-01 06:58:22

5

主题

184

回帖

1333

积分

金牌会员

积分
1333
发表于 2023-5-14 17:47:35 | 显示全部楼层
kk*** 发表于 2023-5-14 14:48
Some sources are also available in stc-isp (full version, a tiny one does not include these), so you ...

Yes, going via full version stc-isp looks better for external characters.
However, note that the source code still has embedded Chinese characters.
A web link may be better, as then browser inbuilt translators can do their magic   

回复 支持 反对

使用道具 举报 送花

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|深圳国芯人工智能有限公司 ( 粤ICP备2022108929号-2 )

GMT+8, 2025-5-2 18:01 , Processed in 0.110823 second(s), 79 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表