hi-linkduino / w80x_arduino Goto Github PK
View Code? Open in Web Editor NEWw806 for arduino ide package
License: GNU Lesser General Public License v2.1
w806 for arduino ide package
License: GNU Lesser General Public License v2.1
file :-> wm_adc.c
HAL_StatusTypeDef HAL_ADC_PollForConversion(ADC_HandleTypeDef* hadc)
{
uint32_t count = 0;
assert_param(IS_ADC_ALL_INSTANCE(hadc->Instansce));
while (1)
{
if (HAL_IS_BIT_SET(hadc->Instance->IF, ADC_IF_ADC))
{
count++;
__HAL_ADC_CLEAR_FLAG(hadc, ADC_IF_ADC);
if(count == 4)
{
break;
}
}
}
return HAL_OK;
}
MCU stucked in loop while(1) when call HAL_ADC_Init() and I have changed to the code as below it work.
HAL_StatusTypeDef HAL_ADC_PollForConversion(ADC_HandleTypeDef* hadc)
{
uint32_t count = 0;
assert_param(IS_ADC_ALL_INSTANCE(hadc->Instansce));
while (1)
{
if (HAL_IS_BIT_SET(hadc->Instance->IF, ADC_IF_ADC))
{
__HAL_ADC_CLEAR_FLAG(hadc, ADC_IF_ADC);
}
count++;
if(count == 4)
{
break;
}
}
return HAL_OK;
}
I can not install on arduino V2.02,
try yo install on arduino 1.84 and error message
"downloading error: https://github.com.cnpmjs.org/Hi-LinkDuino/w80x arduino/releases/download/v0.1.1/w80x adruino-0.01.zip"
was found. Any suggestion?
Thanks!
Says cannot install on my operating system
Hello, i have discovered that this package does not have the random number function, the function called random(). Some projects rely on this function for randomized values. If you will be willing to add this soon, thank you.
I am looking for all 6 Serials (UARTS) interfaces.
Please, deploy UART functionality soon.
Thank you!
Hi你好,我对此项目有兴趣想和你们一起开发,如果才能加入你们
Arduino IDI 1.8.19 Tested the sample code, but it is not executed after downloading, the serial port and LED are not working
Could we please have datasheet, instructions and Github page in English, please? Thanks.
linux not install not found wtools
我使用air103编译arduino代码下载之后代码不运行,对比了下海凌科的原理图发现ch340N的4脚接到了w806的RST上,好像arduino下载的时候不会去拉ch340N的RST# 引脚。这里要去看下下载脚本,是不是要主动去拉下RST#,让程序正常跑起来
Hello! When will you add the I2C and Serial libraries?
MIT, Apache2.0, GPLv2/v3, or BSD?
Please name a license for this repository before anyone else can contribute code to it.
Hello! Is this project died? If NO, when you add W801?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.