[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 574: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 630: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 195: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3937)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 196: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3937)
Plum Geek Forum The Plum Geek forum has been set to read only and moved to https://forum.lowvoltagelabs.com/ 2016-06-23T02:11:09 http://forum.plumgeek.com/feed.php?f=13&t=750 2016-06-23T02:11:09 2016-06-23T02:11:09 http://forum.plumgeek.com/viewtopic.php?t=750&p=1113#p1113 <![CDATA[Re: How to program wink]]>
I suggest you get used to recognising comments fast, dont be daunted, like reading a book code gets run starting at the top and working down but you can be taken out to a different point but then return again (like footnote notation in a book). Comments are ignored when the code gets compiled to send to the Wink and I assume deleted in that process but not from your file, just from what gets sent to Wink which would be in a machine readable language. Comments are handy to plot out what you want in your code and label what areas of code are meant to do, you can quickly comment out pieces of code to help debug or refine your code. Especially to share your code back on the forum for others, you should have well commented code so others can understand what a bit of code is doing and also for yourself when you revisit code you'd worked on months ago.

Once you get a first bit of code working you'll get the hang of it. Don't stress about it, there are often many ways to achieve the same result in programming that can all work, generally there's no right or wrong way to do something and its interesting to see the way different people approach the same task from different directions. Its ok to feel excited to see Wink perform even the "simplest" task when you get your first code running. I'm still a beginner myself, over the years I've tried to learn to program many times and always gave up, I keep coming back to Ringo and Wink though just to tinker with new ideas. Enjoy!

Statistics: Posted by sil — Thu Jun 23, 2016 2:11 am


]]>
2016-05-02T13:00:17 2016-05-02T13:00:17 http://forum.plumgeek.com/viewtopic.php?t=750&p=1098#p1098 <![CDATA[Re: How to program wink]]>
So with each lesson we are adjusting the companion code using the lesson guides?

Statistics: Posted by JCH — Mon May 02, 2016 1:00 pm


]]>
2016-04-18T05:31:25 2016-04-18T05:31:25 http://forum.plumgeek.com/viewtopic.php?t=750&p=1086#p1086 <![CDATA[Re: How to program wink]]> When I first started playing with Wink, I was also completely new to Arduino. I followed all the tool installation instructions to use the ArduinoIDE on my desktop, and I downloaded all the drivers, and I copied all the templates and finally got the hang of it. Then, when trying to enable arduino Wink coding on a chromebook, I discovered Codebender.cc. It's a web-based arduinoIDE that requires no software downloads, and all sketches from others are available and searchable. So, I uploaded the Wink base sketch here:



Now, I can copy or "clone" the base sketch as a starting point for any new sketch. You can copy my base sketch and use it. I don't know if it will be easier for you to figure out the basesketch template from your current IDE or if switching to Codebender would be easier. But Sil is right that you are probably trying to program using the IDE's starting sketch instead of first opening the Wink Base Sketch as a starting point.

I have another thread on this forum describing my Codebender discoveries, so you can read more there.

Good Luck,
Wayne

Statistics: Posted by wclift — Mon Apr 18, 2016 5:31 am


]]>
2016-04-17T22:38:31 2016-04-17T22:38:31 http://forum.plumgeek.com/viewtopic.php?t=750&p=1085#p1085 <![CDATA[Re: How to program wink]]>
My guess is you created a new completely blank sketch, from memory plumgeek provide a "blank" example you should use as a starting point which has the #include line you are missing (which is why you don't have extra tabs and why your example won't run. Arduino is a platform and doesn't know anything about Ringo or Wink, which is why plumgeek provide extra files in the setup instructions that tell the Arduino development software how to talk to your plumgeek robots but YOU have to tell it what to use so you should have a line something like:

#include "WinkHardware.h"

towards the top of the code before any void blocks.


Recheck the menu where your Wink examples appear for something with "blank" in the name. When you start a lesson or write your own code, start by loading this blank example and immediately "Save As" to whatever new name you want so you always have that blank example clean and ready to start from in the future. This blank example should call the include file and probably have an empty loop() block ready for you to type code into.

Statistics: Posted by sil — Sun Apr 17, 2016 10:38 pm


]]>
2016-04-17T11:23:56 2016-04-17T11:23:56 http://forum.plumgeek.com/viewtopic.php?t=750&p=1084#p1084 <![CDATA[How to program wink]]>
I tried writing it out like I lesson 1. In lesson 1 companion code there is attached library and additional tabs and code.

void setup() {
HardwareBegin();
}

void loop() {
// put your main code here, to run repeatedly:
EyesPurple();
delay(3000);
RightOff();
delay(250);

}


I'm still new to Arduino and have played around a little bit with the Arduino Uno but I struggle with the wink due to me not finding much information probably me being blind. There wasn't any instructions when it was delivered either only on the website so I struggled for a little bit.

Help would be very much appreciated.

Statistics: Posted by JCH — Sun Apr 17, 2016 11:23 am


]]>