H8U9o

Working with Arduino and SimulIDE
---------------------------------

          Q: Does Python language have any future?
          A: The best way to predict the future
             is to invent it.
             Alan Kay.

python -m youtube-dl install --upgrade
SimulIDE Arduino and GcBasic Editor & Debugger TESTING
https://www.youtube.com/watch?v=uRSVs1GV9yA

0. No extension:

In Command prompt (Admin):

  assoc .="No Extension"
  ftype "No Extension"=^"^%ProgramFiles(x86)^%\Notepad++\notepad++.exe^" "%1"

Links

  https://superuser.com/questions/13653
  /how-to-set-the-default-program-for-opening-files-
  without-an-extension-in-windows
  http://vim.wikia.com/wiki/Windows_file_associations
  http://vim.wikia.com/wiki
  /Associate_files_with_no_extension_to_Vim_under_Windows

1. Download and install Arduino IDE
  C:\Program Files (x86)\Arduino

2. Download and extract SimulIDE 0.15RC1.
  C:\Users\opilane\Desktop\SimulIDE_0.1.5-Win32-RC1

3. Check
  C:\Users\opilane\Desktop\SimulIDE_0.1.5-Win32-RC1
    \share\simulide\data\codeeditor\config

We are interested in proper location for Arduino software.

  # Path to gcbasic folder:
  gcbasic_Path: C:\GCB@Syn\GreatCowBasic

  # Path to arduino folder:
  arduino_Path: C:\Program Files (x86)\Arduino

Start SimulIDE. Open Code Editor area (sweep from vertical right window border). Open Blink.ino from Arduino samples. Hint toolbar buttons, find "Compile" and "Upload".

Select realtime Tab near left window border. While Blink.ino is running, type PORTB (Reg. column). Stop simulation and press "Debug". You can trace through the code now: "Step", "Run to brekpoint", "Pause", "Reset", "Stop".

Variables are handled the same way as we did it with PORTB.

  float myvar = 0.53;

  Reg.        Dec   Binary
   37  PORTB  0     0000 0000
  265  myvar  0.53  float32

Add/Remove breakpoint by right click on row number

Remarks

"Detener" -- Stop
"Clock" source doesn't like any values. Tested OK: 10 900


