Arduino to PSoC4

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
dala_4164406
Level 1
Level 1

Hello, we need help for our school project.

We are from France and we have to create a weather station who gives informations abouts wind speed and wind direction.

Our problem is that we are working on Psoc (PSoC 4200M which is coded in C) and your documentations are for arduino.

https://github.com/sparkfun/Weather_Shield/blob/master/Firmware/Weather_Shield_Weather_Station_V12/...

Here are the types of errors that we have.

pastedImage_4.png

Can you help us to translate arduino into C,

thanks you very much.

0 Likes
1 Solution
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

daililama,

Use either CYBIT or uint8 instead of byte.

Generally, there is no direct translation of code, try to abstract from code and concentrate on functionality.

View solution in original post

0 Likes
1 Reply
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

daililama,

Use either CYBIT or uint8 instead of byte.

Generally, there is no direct translation of code, try to abstract from code and concentrate on functionality.

0 Likes