Be On Our New Homepage!


#1

Hey all,

We are in the process of remaking our homepage to reflect the audience for Jewelbots (our current site is aimed more at adults). One section features press images like the time we were on Good Morning America, or when we were on CNBC. Someone suggested that something that is better than press is featuring real users of Jewelbots and hearing what they think of their devices.

So, this is an invitation. If you can send us a Boomerang, or a video of you with your bots and a quote about what you think of them, you will be featured on our homepage. You can comment on this thread or send to me via DM or at sara@jewelbots.com.

This isn’t a contest, we will feature everyone that submits as you are the Jewelbots community!

If you are under 18, please DM either me or Quymbee your parent’s email address so we can confirm it is okay with them, as well.

If you have any questions, feel free to ask. Our goal is to get the new site up by the end of August.

Some inspiration examples:

https://www.instagram.com/p/BOkD8INh7T0/?taken-by=codegirlcode


#2

@Ambassadors hit us up yall !! :raising_hand: :raising_hand::raising_hand:


#3

lol I am going to California and I don’t have my bot but oh well I will make one later.


#4

yaasss I can’t wait!! :raised_hands:


#5

I’ll almost definitely do this! I just need to find time lol. Time has not been forthcoming for me lately.


#6

Hey guys, I was going to make a message on my Jewelbot using @louisa’s Morse Code board, but it says there is an error compiling on solo coding mode. Is there still a timer for the boards? Because on the website and instructions page it does not say that there is. It’s kinda important, so just let me know if I can still use the board or if I should make a different video for the webpage.


#7

It should be still good! Can you paste the error in here? There is still the timer.


#8

I will tomorrow as I’m about to sleep. Thanks for letting me know.


#9

Arduino: 1.6.13 (Windows 10), Board: “Solo Coding Mode”

core\core.a(main.cpp.o): In function `main’:

C:\Users\Katherine\AppData\Local\Arduino15\packages\Jewelbots_Arduino_Library\hardware\nRF51822\1.1.3\cores\JWB_nRF51822\ble-nrf51822-master\source/main.cpp:170: undefined reference to `setup’

C:\Users\Katherine\AppData\Local\Arduino15\packages\Jewelbots_Arduino_Library\hardware\nRF51822\1.1.3\cores\JWB_nRF51822\ble-nrf51822-master\source/main.cpp:178: undefined reference to `loop’

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling for board Solo Coding Mode.

This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.


#10

Mind pasting your code in here?


#11

int SHORT_PAUSE = 500;
int LONG_PAUSE = 1200;
int LETTER_BREAK_PAUSE = 2000;

Buzzer buzz;
Timer timer;
LED led;

// Removed the setup and loop functions from this example
// Note that this code won’t actually run on a Jewelbot on its own,
// it’s just a set of functions you can use in actual Jewelbot programs!

/* Helper functions for dits and dahs, the components of Morse code letters */

void dit() {
buzz.short_buzz();
timer.pause(SHORT_PAUSE);
}

void dah() {
buzz.long_buzz();
timer.pause(LONG_PAUSE);
}

void end_letter() {
timer.pause(LETTER_BREAK_PAUSE);
}

/* Functions that “spell” out each letter in Morse code on Jewelbots */

void a() {
dit();
dah();
end_letter();
}

void b() {
dah();
dit();
dit();
dit();
end_letter();
}

void c() {
dah();
dit();
dah();
dit();
end_letter();
}

void d() {
dah();
dit();
dit();
end_letter();
}

void e() {
dit();
end_letter();
}

void f() {
dit();
dit();
dah();
dit();
end_letter();
}

void g() {
dah();
dah();
dit();
end_letter();
}

void h() {
dit();
dit();
dit();
dit();
end_letter();
}

void i() {
dit();
dit();
end_letter();
}

void j() {
dit();
dah();
dah();
dah();
end_letter();
}

void k() {
dah();
dit();
dah();
end_letter();
}

void l() {
dit();
dah();
dit();
dit();
end_letter();
}

void m() {
dah();
dah();
end_letter();
}

void n() {
dah();
dit();
end_letter();
}

void o() {
dah();
dah();
dah();
end_letter();
}

void p() {
dit();
dah();
dah();
dit();
end_letter();
}

void q() {
dah();
dah();
dit();
dah();
end_letter();
}

void r() {
dit();
dah();
dit();
end_letter();
}

void s() {
dit();
dit();
dit();
end_letter();
}

void t() {
dah();
end_letter();
}

void u() {
dit();
dit();
dah();
end_letter();
}

void v() {
dit();
dit();
dit();
dah();
end_letter();
}

void w() {
dit();
dah();
dah();
end_letter();
}

void x() {
dah();
dit();
dit();
dah();
end_letter();
}

void y() {
dah();
dit();
dah();
dah();
end_letter();
}

void z() {
dah();
dah();
dit();
dit();
end_letter();
}
void button_press(void){
led.turn_on_all(CYAN);
t();
h();
i();
s();
timer.pause(4000);
p();
r();
o();
d();
u();
c();
t();
timer.pause(4000);
i();
s();
timer.pause(4000);
s();
o();
timer.pause(4000);
c();
o();
o();
l();
led.turn_off_all();
}


#12
  1. that is AWESOME code

  2. in order to compile on the Jewelbots boards, there need to be a setup() and loop() function. This, however, is an example of a time that would need to be different. I really love the way you are thinking and I’d love to find a way to make this workable. I’m going to think of a way to make that happen.


#13

Thanks, I didn’t really do much about not putting in the setup and loop because Louisa said that she didn’t put them in and I just assumed it would compile.


#14

Where would I add a setup and loop function?


#15

I added a setup and loop function and then it popped up a " ‘buzz’ was not declared in this scope" error message. This was my code :
void setup() {
// put your setup code here, to run once:

int SHORT_PAUSE = 500;
int LONG_PAUSE = 1200;
int LETTER_BREAK_PAUSE = 2000;

Buzzer buzz;
Timer timer;
LED led;

}

void loop() {
// put your main code here, to run repeatedly:

}

void dit() {
buzz.short_buzz();
timer.pause(SHORT_PAUSE);
}

void dah() {
buzz.long_buzz();
timer.pause(LONG_PAUSE);
}

void end_letter() {
timer.pause(LETTER_BREAK_PAUSE);
}

/* Functions that “spell” out each letter in Morse code on Jewelbots */

void a() {
dit();
dah();
end_letter();
}

void b() {
dah();
dit();
dit();
dit();
end_letter();
}

void c() {
dah();
dit();
dah();
dit();
end_letter();
}

void d() {
dah();
dit();
dit();
end_letter();
}

void e() {
dit();
end_letter();
}

void f() {
dit();
dit();
dah();
dit();
end_letter();
}

void g() {
dah();
dah();
dit();
end_letter();
}

void h() {
dit();
dit();
dit();
dit();
end_letter();
}

void i() {
dit();
dit();
end_letter();
}

void j() {
dit();
dah();
dah();
dah();
end_letter();
}

void k() {
dah();
dit();
dah();
end_letter();
}

void l() {
dit();
dah();
dit();
dit();
end_letter();
}

void m() {
dah();
dah();
end_letter();
}

void n() {
dah();
dit();
end_letter();
}

void o() {
dah();
dah();
dah();
end_letter();
}

void p() {
dit();
dah();
dah();
dit();
end_letter();
}

void q() {
dah();
dah();
dit();
dah();
end_letter();
}

void r() {
dit();
dah();
dit();
end_letter();
}

void s() {
dit();
dit();
dit();
end_letter();
}

void t() {
dah();
end_letter();
}

void u() {
dit();
dit();
dah();
end_letter();
}

void v() {
dit();
dit();
dit();
dah();
end_letter();
}

void w() {
dit();
dah();
dah();
end_letter();
}

void x() {
dah();
dit();
dit();
dah();
end_letter();
}

void y() {
dah();
dit();
dah();
dah();
end_letter();
}

void z() {
dah();
dah();
dit();
dit();
end_letter();
}

void button_press(void){
led.turn_on_all(CYAN);
t();
h();
i();
s();
timer.pause(4000);
p();
r();
o();
d();
u();
c();
t();
timer.pause(4000);
i();
s();
timer.pause(4000);
s();
o();
timer.pause(4000);
c();
o();
o();
l();
led.turn_off_all();
}

any thoughts on what is wrong? I checked the website and it said that buzz.long_buzz(); should work for solo mode.


#16

A few things:

  1. sorry it took so long for a reply, my best friend got married this weekend! so, I’ve been busy

  2. it is kind of ridiculous that you need to add setup and loop, I think we never anticipated people doing something that advanced!! GJ!

  3. this is because your buzz variable is being declared within your setup function, I believe. If you declare it outside the function you can use it outside the function.


#17
  1. Omg cool and it’s totally fine.
  2. Thanks! And it was @louisa who made the library’s I just thought it would be cool to make a message in code.
  3. Ok, thanks, will do.

#18

It worked! I will DM you the video. Also, can you like write something under it that says something like “CLICK TO DECODE!” Or something like that?


#19

Did you get the video?


#20

Got the video!!! Need a quote to put along with it about JBots as it’s for a section with images and quotes. Think you could share something like that?