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

How to copy source code example from PDF file

[复制链接]
  • 打卡等级:偶尔看看I
  • 打卡总天数:12
  • 最近打卡:2025-10-04 11:54:26

5

主题

189

回帖

1541

积分

金牌会员

积分
1541
发表于 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.

回复

使用道具 举报 送花

  • 打卡等级:以坛为家I
  • 打卡总天数:209
  • 最近打卡:2025-10-16 08:03:21

787

主题

1万

回帖

1万

积分

管理员

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

回复

使用道具 举报 送花

  • 打卡等级:以坛为家I
  • 打卡总天数:332
  • 最近打卡:2025-09-15 20:02:54

9

主题

327

回帖

4526

积分

荣誉版主

积分
4526
发表于 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
  • 打卡总天数:332
  • 最近打卡:2025-09-15 20:02:54

9

主题

327

回帖

4526

积分

荣誉版主

积分
4526
发表于 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).
回复

使用道具 举报 送花

  • 打卡等级:偶尔看看I
  • 打卡总天数:12
  • 最近打卡:2025-10-04 11:54:26

5

主题

189

回帖

1541

积分

金牌会员

积分
1541
发表于 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 ?
回复

使用道具 举报 送花

  • 打卡等级:偶尔看看I
  • 打卡总天数:12
  • 最近打卡:2025-10-04 11:54:26

5

主题

189

回帖

1541

积分

金牌会员

积分
1541
发表于 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-10-17 03:32 , Processed in 0.116989 second(s), 78 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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