DHT11 P2 Porting
bambino69
Posts: 126
in Propeller 2
In my dive into the P2, since I have a DHT11and there is P1 code available, I've decided to try to make a P2 object for it.
Granted it's ambitious for my skill level, but I needed to set some goals in order to get started.
And the protocal and math involved made it attractive to me as well.
My plan of attack was to save the P1 objects as P2 first and work on the compile errors.
Of course I replaced full_duplex_serial with the jm_fullduplex version. The jm version uses jm_nstr object, but I can not find it!
I will insert a blank object named jm_nstr for now in order to make the compiler happy.
Does anyone know where the jm_nstr object is?
Granted it's ambitious for my skill level, but I needed to set some goals in order to get started.
And the protocal and math involved made it attractive to me as well.
My plan of attack was to save the P1 objects as P2 first and work on the compile errors.
Of course I replaced full_duplex_serial with the jm_fullduplex version. The jm version uses jm_nstr object, but I can not find it!
I will insert a blank object named jm_nstr for now in order to make the compiler happy.
Does anyone know where the jm_nstr object is?
Comments
You're looking for encod -- but it works a little differently on the P2 (run some test values to verify). I made the attached document for myself to remember the changes P1 to P2.
Will definatly need to get out my P1 for side by side comparisons.