Skip to content

ale3andro's fork of the Vishay VEML6040 RGBW color sensor library for Arduino

License

Notifications You must be signed in to change notification settings

ale3andro/VEML6040

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

VEML6040

ale3andro's fork of the original Vishay VEML6040 RGBW color sensor library for Arduino here

I have added two methods:

(0) String VEML6040::getColorName(void)

Reads the color from the sensor and tries to classify it in one of the following colors:

  • Black
  • White
  • Grey
  • Red
  • Yellow
  • Green
  • Azure
  • Blue
  • Magenta

(1) bool VEML6040::isColor(String color)

Given a String parameter (color), this method returns true of false if the color read from the sensor is the one matching the argument. This method makes easier the Mind+ block function.

2026.02.18

About

ale3andro's fork of the Vishay VEML6040 RGBW color sensor library for Arduino

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%