Nickduino / Somfy_Remote

An Arduino Sketch able to simulate a Somfy remote control
Other
225 stars 95 forks source link

DDRD and PORTD not declared before first use. #6

Closed gnaeser closed 7 years ago

gnaeser commented 7 years ago

They just need to be declared ; )

Nickduino commented 7 years ago

They are direct port manipulations and shouldn't have to be declared: https://www.arduino.cc/en/Reference/PortManipulation

If you're not comfortable with that, check this out: https://github.com/caffineehacker/Somfy_Remote/commit/aa2b4a65f3a2240f1e37c00c56543d63ef30bf3a

gnaeser commented 7 years ago

Hi,

Thanks for the pointers! I'll just refactor then to allow other architectures, like the esp8266!

Keep up the great work!

/gaffe

On 8 May 2017, at 14:50, Nickduino notifications@github.com wrote:

They are direct port manipulations and shouldn't have to be declared: https://www.arduino.cc/en/Reference/PortManipulation

If you're not comfortable with that, check this out: caffineehacker@aa2b4a6

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

Nickduino commented 7 years ago

You're welcome.

And thanks for your appreciation.