Trying to understand the Class structure

Do you have a question on how to do something.
Ask in here.
Post Reply
Magicj
Posts: 2
Joined: Thu Dec 11, 2014 2:42 pm

Trying to understand the Class structure

Post by Magicj »

I am trying to use my ReefAngel sketch to learn about the best way to write additional routines.

It is probably just me not fully understanding how the 'Class' structures work within the Arduino language, but I cannot find where something like "ReefAngel.PWM.SetChannel actually processes the analogWrite statement.

I have searched through all (I think) of the various libraries and cannot find the line that actually writes to the appropriate pin - can someone please point me in the right direction.

Thanks
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Trying to understand the Class structure

Post by rimai »

It's inside ReefAngel.cpp
Roberto.
Magicj
Posts: 2
Joined: Thu Dec 11, 2014 2:42 pm

Re: Trying to understand the Class structure

Post by Magicj »

Thanks Roberto

I did look there but I will have another look tonight.

Cheers
Post Reply