Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Question Arduino programming + joystick + bulbs

Question Arduino programming + joystick + bulbs

Scheduled Pinned Locked Moved C / C++ / MFC
game-devhardwarehelptutorialquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    titi titi
    wrote on last edited by
    #1

    Hello everyone I was required to build my first Arduino game and I still do not control well will be happy for your help Light a random position in both the directions and diagonals represented by two bulbs That is, if for example: both the right and the top light are on - move diagonally to the right and up and turn both off And after 20 times of correct moves turn off the lights and let the game end.

    CPalliniC L 2 Replies Last reply
    0
    • T titi titi

      Hello everyone I was required to build my first Arduino game and I still do not control well will be happy for your help Light a random position in both the directions and diagonals represented by two bulbs That is, if for example: both the right and the top light are on - move diagonally to the right and up and turn both off And after 20 times of correct moves turn off the lights and let the game end.

      CPalliniC Offline
      CPalliniC Offline
      CPallini
      wrote on last edited by
      #2

      I see no code in your post.

      "In testa che avete, Signor di Ceprano?" -- Rigoletto

      In testa che avete, signor di Ceprano?

      1 Reply Last reply
      0
      • T titi titi

        Hello everyone I was required to build my first Arduino game and I still do not control well will be happy for your help Light a random position in both the directions and diagonals represented by two bulbs That is, if for example: both the right and the top light are on - move diagonally to the right and up and turn both off And after 20 times of correct moves turn off the lights and let the game end.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Lots of useful Arduino information and samples at Tinkercad | From mind to design in minutes[^].

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups