Hello,

I would absolutly be grateful for just a bit of help to push me in the right direction.

I would like to read the data from this sensor 

https://wiki.dfrobot.com/DFRobot_Ambient_Light_Sensor_SKU_DFR0026

connected to an arduino uno. Can someone give me some example code to help me along?

I have the uno successfully connected to MRL and have been able to control a servo with the service so I have things correctly connected.

My sensor is conected correctly to the uno on A0

Thank you in advance.

 

GroG

3 years 8 months ago

Ahoy 1Robomaker  and Welcome !

There are a lot of differences between the two major versions of MRL

There is Manticore (released) and Nixie (development).

I'm guessing that you are using Manticore ... if so this should work

This was for a Mega - you can see the values of A0 and A1 pin (which have addresses 54 and 55 repectively on a mega.

SImilar for Nixie, but not quite the same ... gui is mostly web for Nixie and some small changes in the python.
The pin name comes back vs the address too.