Giter VIP home page Giter VIP logo

w80x_arduino's People

Contributors

nulllaborg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

w80x_arduino's Issues

analogRead() or HAL_ADC_Init() system halt?

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;

}

The random number function does not exist.

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.

想加入一起开发

Hi你好,我对此项目有兴趣想和你们一起开发,如果才能加入你们

English?

Could we please have datasheet, instructions and Github page in English, please? Thanks.

下载之后程序不运行

我使用air103编译arduino代码下载之后代码不运行,对比了下海凌科的原理图发现ch340N的4脚接到了w806的RST上,好像arduino下载的时候不会去拉ch340N的RST# 引脚。这里要去看下下载脚本,是不是要主动去拉下RST#,让程序正常跑起来

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.