Search found 5 matches

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
by AngoLito
Sat Jun 04, 2016 8:02 pm
Forum: Ringo Basics
Topic: Trying to read battery level
Replies: 5
Views: 20413

Re: Trying to read battery level

Hi, I already have finished a simple (but useful) battery indicator :) Correct code is: // --------------------------------------------------------------------------------------------------------- // IMPORTANT: THIS CODE REQUIRES TO SOLDER R55 47KOhm SMD 0603 or 0402 package // ---------------------...
by AngoLito
Sat Jun 04, 2016 7:38 pm
Forum: Ringo Code Share
Topic: NEW_Preloaded_Behavior_06 with Battery read
Replies: 0
Views: 12838

NEW_Preloaded_Behavior_06 with Battery read

HI! I want to share my particular version of Ringo_Preloaded_Behavior_V06 8-) I aded new Battery level read routine and do some minor modifications on original ( and great ) demo files: ____________________________________Changes implemented by AngoLito in this version______________________________...
by AngoLito
Mon May 30, 2016 8:39 pm
Forum: Ringo Basics
Topic: Trying to read battery level
Replies: 5
Views: 20413

Re: Trying to read battery level

Hi Kevin! Thank you very much for your answer and info ; i've add a 47KOhm on R55 and it works. But first code shared here was wrong... :o I had a big mistake attempting to set MotorCapBattVolts to 1 (line 2 of code); MotorCapsBattVolts defines the pin number of ADC!! (0 for Arduino A0) :oops: Sourc...
by AngoLito
Wed May 25, 2016 6:42 pm
Forum: Ringo Code Share
Topic: Simple lights effects
Replies: 0
Views: 12226

Simple lights effects

Hi! I'm starting to "play" with my Ringo; I want to share this simple sketch of light effects :idea: Finally I've copied part of Behavior 5 (color wheel) to change animation's colors. Is very elemental... but in a dark room Ringo makes a nice effect, specially "moving light" ;) T...
by AngoLito
Sat May 21, 2016 8:37 pm
Forum: Ringo Basics
Topic: Trying to read battery level
Replies: 5
Views: 20413

Trying to read battery level

Hi! Please, there are any way to get battery level? I'm trying to read and show charge by changing color of NeoPixel 3: (bat_level values on sketch are invented; just for testing...) case 16: // plum geek button for battery measurement PlayAck(); MotorCapBattVolts = 1; int bat_level; bat_level = (an...
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable